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

DatabaseIdentityAndKeysHelper.GetDatabaseIdentity(Boolean, String[]) Method

Definition

Gets the database identity object

public static Microsoft.Azure.Management.Sql.Models.DatabaseIdentity GetDatabaseIdentity (bool assignIdentityIsPresent, string[] userAssignedIdentities);
static member GetDatabaseIdentity : bool * string[] -> Microsoft.Azure.Management.Sql.Models.DatabaseIdentity
Public Shared Function GetDatabaseIdentity (assignIdentityIsPresent As Boolean, userAssignedIdentities As String()) As DatabaseIdentity

Parameters

assignIdentityIsPresent
Boolean

Flag to check if AssignIdentity flag is used in the cmdlet.

userAssignedIdentities
String[]

User assigned identities

Returns

Database Identity

Applies to