Sdílet prostřednictvím


ObjectReference.GetObjectReference Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets the object reference for the specified object.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Shared Function GetObjectReference ( _
    obj As IMajorObject _
) As ObjectReference
'Usage
Dim obj As IMajorObject 
Dim returnValue As ObjectReference 

returnValue = ObjectReference.GetObjectReference(obj)
public static ObjectReference GetObjectReference(
    IMajorObject obj
)
public:
static ObjectReference^ GetObjectReference(
    IMajorObject^ obj
)
static member GetObjectReference : 
        obj:IMajorObject -> ObjectReference
public static function GetObjectReference(
    obj : IMajorObject
) : ObjectReference

Parameters

Return Value

Type: Microsoft.AnalysisServices.ObjectReference
The object reference.

See Also

Reference

ObjectReference Class

Microsoft.AnalysisServices Namespace