Méthode Database.LinkDimension (Dimension, String)
Links the database to a specified dimension.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function LinkDimension ( _
source As Dimension, _
dataSourceId As String _
) As Dimension
'Utilisation
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
Paramètres
- source
Type : Microsoft.AnalysisServices.Dimension
The Dimension.
- dataSourceId
Type : System.String
The data that identifies the dimension.
Valeur de retour
Type : Microsoft.AnalysisServices.Dimension
The Dimension that is linked from the database.