DataSourcePermissionCollection.Contains DataSourcePermissionCollection.Contains DataSourcePermissionCollection.Contains Method

Definition

Indicates whether the collection contains a DataSourcePermission.

Overloads

Contains(DataSourcePermission) Contains(DataSourcePermission) Contains(DataSourcePermission)

Indicates whether the collection contains a specified DataSourcePermission.

Contains(String) Contains(String) Contains(String)

Indicates whether the collection contains a DataSourcePermission with the specified identifier.

Contains(DataSourcePermission) Contains(DataSourcePermission) Contains(DataSourcePermission)

Indicates whether the collection contains a specified DataSourcePermission.

public:
 bool Contains(Microsoft::AnalysisServices::DataSourcePermission ^ item);
public bool Contains (Microsoft.AnalysisServices.DataSourcePermission item);
Public Function Contains (item As DataSourcePermission) As Boolean
Parameters
Returns

true if the DataSourcePermission is contained in the collection; otherwise, false.

Contains(String) Contains(String) Contains(String)

Indicates whether the collection contains a DataSourcePermission with the specified identifier.

public:
 bool Contains(System::String ^ id);
public bool Contains (string id);
Public Function Contains (id As String) As Boolean
Parameters
id
String String String

The identifier of the DataSourcePermission to be located.

Returns

true if the DataSourcePermission is contained in the collection; otherwise, false.

Applies to