ADO 2.7 MD API Reference

GetSchemaObject Method

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

Syntax

Set object = CubeDef.GetSchemaObject (Error! Hyperlink reference not valid., Error! Hyperlink reference not valid.)

Parameters

ObjType
An ObjectTypeEnum 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 retireves 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.

See Also

Applies To: CubeDef Object

© 1998-2001 Microsoft Corporation. All rights reserved.