Share via


DataSourcePermissionCollection.Contains Method (DataSourcePermission)

Indicates whether the collection contains a specified DataSourcePermission.

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

Syntax

'Declaration
Public Function Contains ( _
    item As DataSourcePermission _
) As Boolean
'Usage
Dim instance As DataSourcePermissionCollection 
Dim item As DataSourcePermission 
Dim returnValue As Boolean 

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

Parameters

Return Value

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

See Also

Reference

DataSourcePermissionCollection Class

Contains Overload

Microsoft.AnalysisServices Namespace