Udostępnij za pośrednictwem


ServerOperationsExtensions.ChangeAdministratorPasswordAsync Method

Definition

Changes the administrative password of an existing Azure SQL Database Server for a given subscription.

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> ChangeAdministratorPasswordAsync (this Microsoft.WindowsAzure.Management.Sql.IServerOperations operations, string serverName, Microsoft.WindowsAzure.Management.Sql.Models.ServerChangeAdministratorPasswordParameters parameters);
static member ChangeAdministratorPasswordAsync : Microsoft.WindowsAzure.Management.Sql.IServerOperations * string * Microsoft.WindowsAzure.Management.Sql.Models.ServerChangeAdministratorPasswordParameters -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function ChangeAdministratorPasswordAsync (operations As IServerOperations, serverName As String, parameters As ServerChangeAdministratorPasswordParameters) As Task(Of AzureOperationResponse)

Parameters

operations
IServerOperations

Reference to the Microsoft.WindowsAzure.Management.Sql.IServerOperations.

serverName
String

Required. The name of the Azure SQL Database Server that will have the administrator password changed.

parameters
ServerChangeAdministratorPasswordParameters

Required. The necessary parameters for modifying the adminstrator password for a server.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Applies to