Share via


Role Constructors

Definition

Overloads

Role()

Initializes a new instance of the Role class.

Role(String, String)

Initializes a new instance of the Role class.

Role()

Initializes a new instance of the Role class.

public Role ();
Public Sub New ()

Applies to

Role(String, String)

Initializes a new instance of the Role class.

public Role (string db = default, string roleProperty = default);
new Microsoft.Azure.Management.CosmosDB.Models.Role : string * string -> Microsoft.Azure.Management.CosmosDB.Models.Role
Public Sub New (Optional db As String = Nothing, Optional roleProperty As String = Nothing)

Parameters

db
String

The database name the role is applied.

roleProperty
String

The role name.

Applies to