Méthode AggregationInstanceAttributeCollection.Add (String)
Creates and adds the specified AggregationInstanceAttribute to the end of the collection.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function Add ( _
attributeId As String _
) As AggregationInstanceAttribute
'Utilisation
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
Paramètres
- attributeId
Type : System.String
Identifies the AggregationInstanceAttribute to be added.
Valeur de retour
Type : Microsoft.AnalysisServices.AggregationInstanceAttribute
The AggregationInstanceAttribute that was added to the collection.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | attributeId is a null reference (Nothing in Visual Basic). |