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

DatabaseIdentity 构造函数

定义

重载

DatabaseIdentity()

初始化 DatabaseIdentity 类的新实例。

DatabaseIdentity(String, Nullable<Guid>, IDictionary<String,DatabaseUserIdentity>)

初始化 DatabaseIdentity 类的新实例。

DatabaseIdentity()

初始化 DatabaseIdentity 类的新实例。

public DatabaseIdentity ();
Public Sub New ()

适用于

DatabaseIdentity(String, Nullable<Guid>, IDictionary<String,DatabaseUserIdentity>)

初始化 DatabaseIdentity 类的新实例。

public DatabaseIdentity (string type = default, Guid? tenantId = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.Sql.Models.DatabaseUserIdentity> userAssignedIdentities = default);
new Microsoft.Azure.Management.Sql.Models.DatabaseIdentity : string * Nullable<Guid> * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.Sql.Models.DatabaseUserIdentity> -> Microsoft.Azure.Management.Sql.Models.DatabaseIdentity
Public Sub New (Optional type As String = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional userAssignedIdentities As IDictionary(Of String, DatabaseUserIdentity) = Nothing)

参数

type
String

标识类型。 可能的值包括:“None”、“UserAssigned”

tenantId
Nullable<Guid>

Azure Active Directory 租户 ID。

userAssignedIdentities
IDictionary<String,DatabaseUserIdentity>

要使用的用户分配标识的资源 ID

适用于