AdomdRestrictionCollection.Contains Method
Determines whether a AdomdRestriction is in the AdomdRestrictionCollection.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)
Syntax
'Declaration
Public Function Contains ( _
value As AdomdRestriction _
) As Boolean
'Usage
Dim instance As AdomdRestrictionCollection
Dim value As AdomdRestriction
Dim returnValue As Boolean
returnValue = instance.Contains(value)
public bool Contains(
AdomdRestriction value
)
public:
bool Contains(
AdomdRestriction^ value
)
member Contains :
value:AdomdRestriction -> bool
public function Contains(
value : AdomdRestriction
) : boolean
Parameters
- value
Type: Microsoft.AnalysisServices.AdomdClient.AdomdRestriction
The AdomdRestriction to find.
Return Value
Type: System.Boolean
A Boolean that contains true if the AdomdRestriction exists in the collection; false otherwise.
See Also