DataSourcePermissionCollection.FindByRole Method (String)

 

Updated: May 24, 2016

Gets the DataSourcePermission, with the specified role identifier, from the collection.

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

public DataSourcePermission FindByRole(
	string roleId
)

Parameters

roleId
Type: System.String

The role identifier of the DataSourcePermission to be returned.

Return Value

Type: Microsoft.AnalysisServices.DataSourcePermission

The DataSourcePermission if it is contained in the collection; otherwise, a null reference (Nothing in Visual Basic).

Return to top
Show: