IMetabaseUpdateDeleteObjectNode.ObjectId

Syntax

ObjectId: String;

Description

The ObjectId property determines identifier of object deleted 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 := "Delete 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 deletes a repository object with the specified identifier is included in the update.

See also:

IMetabaseUpdateDeleteObjectNode