ServerOperationsExtensions.ChangeAdministratorPassword Method

Definition

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

public static Microsoft.Azure.AzureOperationResponse ChangeAdministratorPassword (this Microsoft.WindowsAzure.Management.Sql.IServerOperations operations, string serverName, Microsoft.WindowsAzure.Management.Sql.Models.ServerChangeAdministratorPasswordParameters parameters);
static member ChangeAdministratorPassword : Microsoft.WindowsAzure.Management.Sql.IServerOperations * string * Microsoft.WindowsAzure.Management.Sql.Models.ServerChangeAdministratorPasswordParameters -> Microsoft.Azure.AzureOperationResponse
<Extension()>
Public Function ChangeAdministratorPassword (operations As IServerOperations, serverName As String, parameters As ServerChangeAdministratorPasswordParameters) As 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

Microsoft.Azure.AzureOperationResponse

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

Applies to