Sdílet prostřednictvím


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

Return Value

Type: System.Boolean
true if the AggregationAttribute is found in the collection; otherwise, false.

See Also

Reference

AggregationAttributeCollection Class

Contains Overload

Microsoft.AnalysisServices Namespace