IServerOperations.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 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
A standard service response including an HTTP status code and request ID.
Applies to
Azure SDK for .NET