AggregationAttributeCollection.Contains Method (String)
Determines whether an AggregationAttribute with the specified attribute identifier exists in the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Contains ( _
attributeId As String _
) As Boolean
'Usage
Dim instance As AggregationAttributeCollection
Dim attributeId As String
Dim returnValue As Boolean
returnValue = instance.Contains(attributeId)
public bool Contains(
string attributeId
)
public:
bool Contains(
String^ attributeId
)
member Contains :
attributeId:string -> bool
public function Contains(
attributeId : String
) : boolean
Parameters
- attributeId
Type: System.String
The attribute identifier of the AggregationAttribute to find in the collection.
Return Value
Type: System.Boolean
true if the AggregationAttribute is found in the collection; otherwise, false.