Export (0) Print
Expand All

DataSourcePermissionCollection.FindByRole Method

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: 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).

Community Additions

ADD
Show:
© 2014 Microsoft