Add Method (String, String)
Collapse the table of content
Expand the table of content

DataSourcePermissionCollection.Add Method (String, String)


Updated: May 16, 2016

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

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

public DataSourcePermission Add(
	string roleId,
	string name


Type: System.String

The role identifier of the DataSourcePermission to be added..

Type: System.String

The name 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
© 2016 Microsoft