IMetabaseObjectDescriptor.Id

Syntax

Id: String;

Id: string;

Description

The Id property determines an identifier of the repository object.

NOTE. If the identifier is changed, the check on the correspondence with the specified format of identifiers is performed.

Example

Executing the example requires an object with the 143198 key.

Add a link to the Metabase system assembly.

Sub UserProc;
Var
    MB: IMetabase;
    Desc: IMetabaseObjectDescriptor;
    S: String;
Begin
    MB := MetabaseClass.Active;
    Desc := Mb.Item(143198);
    S := Desc.Id;
End Sub UserProc;
Public Shared Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    Desc: IMetabaseObjectDescriptor;
    S: String;
Begin
    MB := Params.Metabase;
    Desc := Mb.Item[143198];
    S := Desc.Id;
End Sub;

After executing this example the "S" variable contains identifier of the object with 143198 key.

See also:

IMetabaseObjectDescriptor