Sdílet prostřednictvím


AggregationInstanceDimensionCollection.Contains Method (String)

Indicates whether the collection contains an AggregationInstanceDimension, which is identified by cubeDimensionId.

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

Syntax

'Declaration
Public Function Contains ( _
    cubeDimensionId As String _
) As Boolean
'Usage
Dim instance As AggregationInstanceDimensionCollection
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
Returns true if the specified AggregationInstanceDimension exists in the collection; otherwise, false