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

参数

异常

异常 条件
ArgumentNullException

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