IMetabaseUpdateDeleteObjectNode.ObjectId

Syntax

ObjectId: String;

Description

The ObjectId property determines identifier of object removed on update.

Example

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

Sub UserProc;
Var
    MB: IMetabase;
    Update: IMetabaseUpdate;
    DelObject: IMetabaseUpdateDeleteObjectNode;
Begin
    MB := MetabaseClass.Active;
    Update := MB.CreateUpdate;
    DelObject := Update.RootFolder.Add(MetabaseUpdateNodeType.DeleteObject) As IMetabaseUpdateDeleteObjectNode;
    DelObject.Label := "Remove the TempTable object";
    DelObject.ObjectId := "TempTable";
    Update.SaveToFileNF("c:\DelObject.pefx");
End Sub UserProc;

After executing the example the new update is created. The object, that removes a repository object with the specified identifier, is included in the update.

See also:

IMetabaseUpdateDeleteObjectNode