DataSourcePermissionCollection.Add Method (String)


Updated: May 24, 2016

Creates and adds a DataSourcePermission, with the specified role identifier, to the end of the collection.

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

public DataSourcePermission Add(
	string roleId


Type: System.String

The role identifier of the DataSourcePermission to be added.

Return Value

Type: Microsoft.AnalysisServices.DataSourcePermission

The zero-based index at which the DataSourcePermission has been added.

Return to top