ServerOperationsExtensions.ChangeAdministratorPasswordAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
A standard service response including an HTTP status code and request ID.
Applies to
Azure SDK for .NET