ObjectReference.GetObjectReference(IMajorObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.