Condividi tramite


Metodo Add (String)

Creates and adds the specified AggregationInstanceAttribute to the end of the collection.

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

Sintassi

'Dichiarazione
Public Function Add ( _
    attributeId As String _
) As AggregationInstanceAttribute
'Utilizzo
Dim instance As AggregationInstanceAttributeCollection
Dim attributeId As String
Dim returnValue As AggregationInstanceAttribute

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

Parametri

Valore restituito

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

Eccezioni

Eccezione Condizione
ArgumentNullException

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