Méthode CubeDimensionCollection.Add (String, String, String)
Creates and adds a CubeDimension, with the specified name and identifier, to the end of the collection.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function Add ( _
dimensionId As String, _
name As String, _
id As String _
) As CubeDimension
'Utilisation
Dim instance As CubeDimensionCollection
Dim dimensionId As String
Dim name As String
Dim id As String
Dim returnValue As CubeDimension
returnValue = instance.Add(dimensionId, _
name, id)
public CubeDimension Add(
string dimensionId,
string name,
string id
)
public:
CubeDimension^ Add(
String^ dimensionId,
String^ name,
String^ id
)
member Add :
dimensionId:string *
name:string *
id:string -> CubeDimension
public function Add(
dimensionId : String,
name : String,
id : String
) : CubeDimension
Paramètres
- dimensionId
Type : System.String
The identifier of the Dimension to be added.
- name
Type : System.String
The name of the CubeDimension to be added.
- id
Type : System.String
The identifier of the CubeDimension to be added.
Valeur de retour
Type : Microsoft.AnalysisServices.CubeDimension
The CubeDimension that has been added.