Partager via


Add méthode (String)

Creates and adds an AggregationDimension, with the specified identifier, 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 AggregationDimension
'Utilisation
Dim instance As AggregationDimensionCollection
Dim cubeDimensionId As String
Dim returnValue As AggregationDimension

returnValue = instance.Add(cubeDimensionId)
public AggregationDimension Add(
    string cubeDimensionId
)
public:
AggregationDimension^ Add(
    String^ cubeDimensionId
)
member Add : 
        cubeDimensionId:string -> AggregationDimension 
public function Add(
    cubeDimensionId : String
) : AggregationDimension

Paramètres

Valeur de retour

Type : Microsoft.AnalysisServices. . :: . .AggregationDimension
The zero-based index at which the AggregationDimension has been added.