Share via


ObjectReference.ResolveObjectReference Method (Database, ObjectReference)

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

Resolves an ObjectReference object with the specified database and object reference.

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

Syntax

'Declaration
Public Shared Function ResolveObjectReference ( _
    database As Database, _
    objectReference As ObjectReference _
) As IMajorObject
'Usage
Dim database As Database 
Dim objectReference As ObjectReference 
Dim returnValue As IMajorObject 

returnValue = ObjectReference.ResolveObjectReference(database, _
    objectReference)
public static IMajorObject ResolveObjectReference(
    Database database,
    ObjectReference objectReference
)
public:
static IMajorObject^ ResolveObjectReference(
    Database^ database, 
    ObjectReference^ objectReference
)
static member ResolveObjectReference : 
        database:Database * 
        objectReference:ObjectReference -> IMajorObject
public static function ResolveObjectReference(
    database : Database, 
    objectReference : ObjectReference
) : IMajorObject

Parameters

Return Value

Type: Microsoft.AnalysisServices.IMajorObject
An ObjectReference object with the specified database and object reference.

See Also

Reference

ObjectReference Class

ResolveObjectReference Overload

Microsoft.AnalysisServices Namespace