Delen via


AggregationDimensionCollection.Contains Method (String)

Checks whether the collection contains an AggregationDimension with the specified identifier.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function Contains ( _
    cubeDimensionId As String _
) As Boolean
'Usage
Dim instance As AggregationDimensionCollection 
Dim cubeDimensionId As String 
Dim returnValue As Boolean 

returnValue = instance.Contains(cubeDimensionId)
public bool Contains(
    string cubeDimensionId
)
public:
bool Contains(
    String^ cubeDimensionId
)
member Contains : 
        cubeDimensionId:string -> bool
public function Contains(
    cubeDimensionId : String
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the AggregationDimension is contained in the collection; otherwise, false.

See Also

Reference

AggregationDimensionCollection Class

Contains Overload

Microsoft.AnalysisServices Namespace