ServerOperationsExtensions.ChangeAdministratorPassword Method
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)
Usage
'Usage
Dim operations As IServerOperations
Dim serverName As String
Dim parameters As ServerChangeAdministratorPasswordParameters
Dim returnValue As AzureOperationResponse
returnValue = ServerOperationsExtensions.ChangeAdministratorPassword(operations, serverName, parameters)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function ChangeAdministratorPassword ( _
operations As IServerOperations, _
serverName As String, _
parameters As ServerChangeAdministratorPasswordParameters _
) As AzureOperationResponse
[ExtensionAttribute]
public static AzureOperationResponse ChangeAdministratorPassword (
IServerOperations operations,
string serverName,
ServerChangeAdministratorPasswordParameters parameters
)
[ExtensionAttribute]
public:
static AzureOperationResponse^ ChangeAdministratorPassword (
IServerOperations^ operations,
String^ serverName,
ServerChangeAdministratorPasswordParameters^ parameters
)
/** @attribute ExtensionAttribute() */
public static AzureOperationResponse ChangeAdministratorPassword (
IServerOperations operations,
String serverName,
ServerChangeAdministratorPasswordParameters parameters
)
ExtensionAttribute
public static function ChangeAdministratorPassword (
operations : IServerOperations,
serverName : String,
parameters : ServerChangeAdministratorPasswordParameters
) : AzureOperationResponse
Parameters
- operations
Reference to the Microsoft.WindowsAzure.Management.Sql.IServerOperations.
- serverName
Required. The name of the Azure SQL Database Server that will have the administrator password changed.
- parameters
Required. The necessary parameters for modifying the adminstrator password for a server.
Return Value
A standard service response including an HTTP status code and request ID.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012
Target Platforms
See Also
Reference
ServerOperationsExtensions Class
ServerOperationsExtensions Members
Microsoft.WindowsAzure.Management.Sql Namespace