ObjectReference.ResolveObjectReference 方法 (Database, ObjectReference)
此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Resolves an ObjectReference object with the specified database and object reference.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)
语法
声明
Public Shared Function ResolveObjectReference ( _
database As Database, _
objectReference As ObjectReference _
) As IMajorObject
用法
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
参数
- database
类型:Microsoft.AnalysisServices.Database
The database.
- objectReference
类型:Microsoft.AnalysisServices.ObjectReference
The specified object reference.
返回值
类型:Microsoft.AnalysisServices.IMajorObject
An ObjectReference object with the specified database and object reference.