Compartilhar via


Método Database.LinkDimension (Dimension, String, String)

Links the database to a specified dimension.

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

Sintaxe

'Declaração
Public Function LinkDimension ( _
    source As Dimension, _
    dataSourceId As String, _
    name As String _
) As Dimension
'Uso
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

Parâmetros

  • dataSourceId
    Tipo: System.String
    The data that identifies the dimension.

Valor de retorno

Tipo: Microsoft.AnalysisServices.Dimension
The Dimension that is linked from the database.

Consulte também

Referência

Database Classe

Sobrecarregado LinkDimension

Namespace Microsoft.AnalysisServices