Role Constructors

Definition

Overloads

Role()

Initializes a new instance of the Role class using the default values.

Role(String)

Initializes a new instance of Role using the specified name.

Role(String, String)

Initializes a new instance of Role using the specified name and identifier.

Role()

Initializes a new instance of the Role class using the default values.

public Role ();
Public Sub New ()

Applies to

Role(String)

Initializes a new instance of Role using the specified name.

public Role (string name);
new Microsoft.AnalysisServices.Role : string -> Microsoft.AnalysisServices.Role
Public Sub New (name As String)

Parameters

name
String

A String that contains the name of the Role.

Applies to

Role(String, String)

Initializes a new instance of Role using the specified name and identifier.

public Role (string name, string id);
new Microsoft.AnalysisServices.Role : string * string -> Microsoft.AnalysisServices.Role
Public Sub New (name As String, id As String)

Parameters

name
String

A String that contains the name of the Role.

id
String

A String that contains a unique identifier for the Role.

Applies to