Creates, adds to collection and returns a new MeasureGroupAttribute.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)
语法
声明
Public Function Add ( _
attributeId As String _
) As MeasureGroupAttribute
用法
Dim instance As MeasureGroupAttributeCollection
Dim attributeId As String
Dim returnValue As MeasureGroupAttribute
returnValue = instance.Add(attributeId)
public MeasureGroupAttribute Add(
string attributeId
)
public:
MeasureGroupAttribute^ Add(
String^ attributeId
)
member Add :
attributeId:string -> MeasureGroupAttribute
public function Add(
attributeId : String
) : MeasureGroupAttribute
参数
- attributeId
类型:System.String
The attribute identifier for the new MeasureGroupAttribute (needs to be unique in the collection).
返回值
类型:Microsoft.AnalysisServices.MeasureGroupAttribute
The newly created MeasureGroupAttribute.