Compartir a través de


Add Método (String)

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

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
Public Function Add ( _
    attributeId As String _
) As AggregationInstanceAttribute
'Uso
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

Parámetros

Valor devuelto

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

Excepciones

Excepción Condición
ArgumentNullException

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