Метод AggregationInstanceAttributeCollection.Add (String)
Creates and adds the specified AggregationInstanceAttribute to the end of the collection.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public Function Add ( _
attributeId As String _
) As AggregationInstanceAttribute
'Применение
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
Параметры
- attributeId
Тип: System.String
Identifies the AggregationInstanceAttribute to be added.
Возвращаемое значение
Тип: Microsoft.AnalysisServices.AggregationInstanceAttribute
The AggregationInstanceAttribute that was added to the collection.
Исключения
Исключение | Условие |
---|---|
ArgumentNullException | attributeId is a null reference (Nothing in Visual Basic). |