Compartilhar via


Método Contains (DimensionPermission)

Indicates whether the collection contains the specified DimensionPermission.

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

Sintaxe

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

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

Valor de retorno

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