IMetabase.GetPendingCheckins

Syntax

GetPendingCheckins: IMetabaseObjectDescriptors;

GetPendingCheckins(): Prognoz.Platform.Interop.Metabase.IMetabaseObjectDescriptors;

Description

The GetPendingCheckins method returns a description of all repository objects, that are taken for editing.

Example

To execute the example, add a link to the Metabase system assembly.

Sub UserProc;
Var
    MB: IMetabase;
    PCheck: IMetabaseObjectDescriptors;
    Count: Integer;
Begin
    MB := MetabaseClass.Active;
    PCheck := MB.GetPendingCheckins;
    Count := PCheck.Count;
End Sub UserProc;
Public Shared Sub Main(Params: StartParams);
    Var
        MB: IMetabase;
        PCheck: IMetabaseObjectDescriptors;
        Count: Integer;
    Begin
        MB := Params.Metabase;
        PCheck := MB.GetPendingCheckins();
        Count := PCheck.Count;
    End Sub;

After executing the example the Count variable stores the number of repository objects, taken for editing.

See also:

IMetabase