Workspace ObjectIDToInternalID Method

Meta Data Services Programming

Meta Data Services Programming

Workspace ObjectIDToInternalID Method

This method translates an object identifier into an internal identifier. Internal identifiers are used by the repository engine to identify repository objects.

This method is not attached to the default interface for the repository Automation object; it is attached to the IRepositoryObjectVersion interface. For more information about accessing a member of an interface that is not the default interface, see Accessing Automation Object Members.

Syntax

variable  =  object.ObjectIDToInternalID(objectId)

The ObjectIDToInternalID method syntax has the following parts.

Part Description
variable Receives the internal identifier
object The object that represents the workspace through which this program is interacting with the repository
objectId The object identifier to be converted
Remarks

Repository object identifiers are globally unique, and are the same across repositories for the same object. Internal identifiers are unique only within the scope of a single repository.

The translation performed by this method is performed without loading the object in question. This enables database queries involving an object or relationship type identifier to be constructed without having to load the definition object.

See Also

Object Identifiers and Internal Identifiers

Repository InternalIDToObjectID Method

Workspace Object