MeasureGroupAttributeCollection.Add Method (String)
Creates, adds to collection and returns a new MeasureGroupAttribute.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Add ( _
attributeId As String _
) As MeasureGroupAttribute
'Usage
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
Parameters
- attributeId
Type: System.String
The attribute identifier for the new MeasureGroupAttribute (needs to be unique in the collection).
Return Value
Type: Microsoft.AnalysisServices.MeasureGroupAttribute
The newly created MeasureGroupAttribute.