Database.LinkDimension 方法 (Dimension, String, String)
Links the database to a specified dimension.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)
语法
声明
Public Function LinkDimension ( _
source As Dimension, _
dataSourceId As String, _
name As String _
) As Dimension
用法
Dim instance As Database
Dim source As Dimension
Dim dataSourceId As String
Dim name As String
Dim returnValue As Dimension
returnValue = instance.LinkDimension(source, _
dataSourceId, name)
public Dimension LinkDimension(
Dimension source,
string dataSourceId,
string name
)
public:
Dimension^ LinkDimension(
Dimension^ source,
String^ dataSourceId,
String^ name
)
member LinkDimension :
source:Dimension *
dataSourceId:string *
name:string -> Dimension
public function LinkDimension(
source : Dimension,
dataSourceId : String,
name : String
) : Dimension
参数
- source
类型:Microsoft.AnalysisServices.Dimension
The Dimension.
- dataSourceId
类型:System.String
The data that identifies the dimension.
- name
类型:System.String
The name of the dimension.
返回值
类型:Microsoft.AnalysisServices.Dimension
The Dimension that is linked from the database.