Compartilhar via


DataSourcePermission Constructor (String, String, String)

Initializes a new instance of the DataSourcePermission class using a role identifier, DataSource name and DataSource unique identifier.

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

Syntax

'Declaration
Public Sub New ( _
    roleId As String, _
    name As String, _
    id As String _
)
public DataSourcePermission (
    string roleId,
    string name,
    string id
)
public:
DataSourcePermission (
    String^ roleId, 
    String^ name, 
    String^ id
)
public DataSourcePermission (
    String roleId, 
    String name, 
    String id
)
public function DataSourcePermission (
    roleId : String, 
    name : String, 
    id : String
)

Parameters

  • roleId
  • name
    A String that contains the name of the DataSource.
  • id
    A String that contains a unique identifier for the DataSource.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

DataSourcePermission Class
DataSourcePermission Members
Microsoft.AnalysisServices Namespace