IMetabaseObjectDescriptor.Description

Syntax

Description: String;

Description: string;

Description

The Description property determines description (comment) of the repository object.

Example

Executing the example requires that the repository contains an object with the TSDB identifier.

Add a link to the Metabase system assembly.

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

After executing this example the S variable contains description (comment) of the repository object with the TSDB identifier.

See also:

IMetabaseObjectDescriptor