你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PrivilegeResource Constructors

Definition

Overloads

PrivilegeResource()

Initializes a new instance of the PrivilegeResource class.

PrivilegeResource(String, String)

Initializes a new instance of the PrivilegeResource class.

PrivilegeResource()

Initializes a new instance of the PrivilegeResource class.

public PrivilegeResource ();
Public Sub New ()

Applies to

PrivilegeResource(String, String)

Initializes a new instance of the PrivilegeResource class.

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

Parameters

db
String

The database name the role is applied.

collection
String

The collection name the role is applied.

Applies to