Role Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.