Share via


ObjectReference.GetObjectReference(IMajorObject) Method

Definition

Gets the object ID of the specified object.

public static Microsoft.AnalysisServices.Tabular.ObjectReference GetObjectReference (Microsoft.AnalysisServices.Tabular.IMajorObject obj);
static member GetObjectReference : Microsoft.AnalysisServices.Tabular.IMajorObject -> Microsoft.AnalysisServices.Tabular.ObjectReference
Public Shared Function GetObjectReference (obj As IMajorObject) As ObjectReference

Parameters

obj
IMajorObject

Name of the object.

Returns

The ID of the object.

Applies to