Sdílet prostřednictvím


MiningModelPermissionCollection.Contains Method (MiningModelPermission)

Indicates whether the collection contains a specified MiningModelPermission.

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

Syntax

'Declaration
Public Function Contains ( _
    item As MiningModelPermission _
) As Boolean
'Usage
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

Return Value

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