Add méthode (String)
Creates and adds an AggregationInstanceDimension, the specified by cubeDimensionId, to the end of the collection.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function Add ( _
cubeDimensionId As String _
) As AggregationInstanceDimension
'Utilisation
Dim instance As AggregationInstanceDimensionCollection
Dim cubeDimensionId As String
Dim returnValue As AggregationInstanceDimension
returnValue = instance.Add(cubeDimensionId)
public AggregationInstanceDimension Add(
string cubeDimensionId
)
public:
AggregationInstanceDimension^ Add(
String^ cubeDimensionId
)
member Add :
cubeDimensionId:string -> AggregationInstanceDimension
public function Add(
cubeDimensionId : String
) : AggregationInstanceDimension
Paramètres
- cubeDimensionId
Type : System. . :: . .String
Identifies of the AggregationInstanceDimension to be added.
Valeur de retour
Type : Microsoft.AnalysisServices. . :: . .AggregationInstanceDimension
The AggregationInstanceDimension that was added to the collection.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | cubeDimensionId is a null reference (Nothing in Visual Basic). |