Partilhar via


Método Contains (AttributePermission)

Indicates whether the collection contains a specified AttributePermission.

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

Sintaxe

'Declaração
Public Function Contains ( _
    item As AttributePermission _
) As Boolean
'Uso
Dim instance As AttributePermissionCollection
Dim item As AttributePermission
Dim returnValue As Boolean

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

Valor de retorno

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