Condividi tramite


Metodo AggregationInstanceDimensionCollection.Add (String)

Creates and adds an AggregationInstanceDimension, the specified by cubeDimensionId, to the end of the collection.

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

Sintassi

'Dichiarazione
Public Function Add ( _
    cubeDimensionId As String _
) As AggregationInstanceDimension
'Utilizzo
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

Parametri

Valore restituito

Tipo: Microsoft.AnalysisServices.AggregationInstanceDimension
The AggregationInstanceDimension that was added to the collection.

Eccezioni

Eccezione Condizione
ArgumentNullException

cubeDimensionId is a null reference (Nothing in Visual Basic).

Vedere anche

Riferimento

AggregationInstanceDimensionCollection Classe

Overload Add

Spazio dei nomi Microsoft.AnalysisServices