Compartilhar via


Método AdomdRestrictionCollection.Contains

Determines whether a AdomdRestriction is in the AdomdRestrictionCollection.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (em Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxe

'Declaração
Public Function Contains ( _
    value As AdomdRestriction _
) As Boolean
'Uso
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

Parâmetros

Valor de retorno

Tipo: System.Boolean
A Boolean that contains true if the AdomdRestriction exists in the collection; false otherwise.

Consulte também

Referência

AdomdRestrictionCollection Classe

Namespace Microsoft.AnalysisServices.AdomdClient