Export (0) Print
Expand All

DataSourcePermissionCollection.Add Method (String, String)

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
)

Parameters

roleId
Type: String
The role identifier of the DataSourcePermission to be added..
name
Type: 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.

Community Additions

ADD
Show:
© 2014 Microsoft