IServerOperations.ChangeAdministratorPasswordAsync Method

Definition

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

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

Parameters

serverName
String

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

parameters
ServerChangeAdministratorPasswordParameters

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

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to