Compartir a través de


Contains Método (DatabasePermission)

Indicates whether the collection contains the specified DatabasePermission.

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
Public Function Contains ( _
    item As DatabasePermission _
) As Boolean
'Uso
Dim instance As DatabasePermissionCollection
Dim item As DatabasePermission
Dim returnValue As Boolean

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

Valor devuelto

Tipo: System. . :: . .Boolean
true if the DatabasePermission is contained in the collection; otherwise, false.