GetSchemaObject Method (ADO MD)

Retrieves an ADO MD schema object (Dimension, Hierarchy, Level, or Member) by its UniqueName.

Syntax

  
Set object = CubeDef.GetSchemaObject (ObjType, UniqueName)  

Parameters

ObjType
A SchemaObjectTypeEnum value specifying what type of schema object (Dimension, Hierarchy, Level, or Member) to retrieve.

UniqueName
A String specifying the UniqueName property value of the object to retrieve.

Remarks

GetSchemaObject retrieves objects using their unique names, as specified by the UniqueName property. The names of parent objects do not need to be known, and parent collections do not need to be populated to retrieve a schema object.

Applies To

CubeDef Object (ADO MD)

See Also

CubeDef Object (ADO MD)