Condividi tramite


Metodo Database.LinkDimension (Dimension, String)

Links the database to a specified dimension.

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Function LinkDimension ( _
    source As Dimension, _
    dataSourceId As String _
) As Dimension
'Utilizzo
Dim instance As Database 
Dim source As Dimension 
Dim dataSourceId As String 
Dim returnValue As Dimension 

returnValue = instance.LinkDimension(source, _
    dataSourceId)
public Dimension LinkDimension(
    Dimension source,
    string dataSourceId
)
public:
Dimension^ LinkDimension(
    Dimension^ source, 
    String^ dataSourceId
)
member LinkDimension : 
        source:Dimension * 
        dataSourceId:string -> Dimension
public function LinkDimension(
    source : Dimension, 
    dataSourceId : String
) : Dimension

Parametri

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

Valore restituito

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

Vedere anche

Riferimento

Database Classe

Overload LinkDimension

Spazio dei nomi Microsoft.AnalysisServices