Compartilhar via


Método Contains (MiningModelPermission)

Indicates whether the collection contains a specified MiningModelPermission.

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

Sintaxe

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

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

Valor de retorno

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