共用方式為


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 a name.

Role(String, String)

Initializes a new instance of Role using a name and an 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 a name.

public Role (string name);
new Microsoft.AnalysisServices.Tabular.Role : string -> Microsoft.AnalysisServices.Tabular.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 a name and an identifier.

public Role (string name, string id);
new Microsoft.AnalysisServices.Tabular.Role : string * string -> Microsoft.AnalysisServices.Tabular.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