ServerOperationsExtensions.ChangeAdministratorPassword Method (IServerOperations, String, ServerChangeAdministratorPasswordParameters)
Changes the administrative password of an existing Azure SQL Database Server for a given subscription.
Namespace: Microsoft.WindowsAzure.Management.Sql
Assembly: Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)
Syntax
public static AzureOperationResponse ChangeAdministratorPassword(
this IServerOperations operations,
string serverName,
ServerChangeAdministratorPasswordParameters parameters
)
public:
[ExtensionAttribute]
static AzureOperationResponse^ ChangeAdministratorPassword(
IServerOperations^ operations,
String^ serverName,
ServerChangeAdministratorPasswordParameters^ parameters
)
static member ChangeAdministratorPassword :
operations:IServerOperations *
serverName:string *
parameters:ServerChangeAdministratorPasswordParameters -> AzureOperationResponse
<ExtensionAttribute>
Public Shared Function ChangeAdministratorPassword (
operations As IServerOperations,
serverName As String,
parameters As ServerChangeAdministratorPasswordParameters
) As AzureOperationResponse
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Sql.IServerOperationsReference to the Microsoft.WindowsAzure.Management.Sql.IServerOperations.
serverName
Type: System.StringRequired. The name of the Azure SQL Database Server that will have the administrator password changed.
parameters
Type: Microsoft.WindowsAzure.Management.Sql.Models.ServerChangeAdministratorPasswordParametersRequired. The necessary parameters for modifying the adminstrator password for a server.
Return Value
Type: Microsoft.Azure.AzureOperationResponse
A standard service response including an HTTP status code and request ID.
See Also
ServerOperationsExtensions Class
Microsoft.WindowsAzure.Management.Sql Namespace
Return to top