Partager via


Méthode Contains (CubePermission)

Indicates whether the collection contains a specified CubePermission.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function Contains ( _
    item As CubePermission _
) As Boolean
'Utilisation
Dim instance As CubePermissionCollection
Dim item As CubePermission
Dim returnValue As Boolean

returnValue = instance.Contains(item)
public bool Contains(
    CubePermission item
)
public:
bool Contains(
    CubePermission^ item
)
member Contains : 
        item:CubePermission -> bool 
public function Contains(
    item : CubePermission
) : boolean

Paramètres

Valeur de retour

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