DatabaseOperationsExtensions.UpdateAsync Method (IDatabaseOperations, String, String, DatabaseUpdateParameters)
Updates the properties of an Azure SQL Database.
Namespace: Microsoft.WindowsAzure.Management.Sql
Assembly: Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)
Syntax
public static Task<DatabaseUpdateResponse> UpdateAsync(
this IDatabaseOperations operations,
string serverName,
string databaseName,
DatabaseUpdateParameters parameters
)
public:
[ExtensionAttribute]
static Task<DatabaseUpdateResponse^>^ UpdateAsync(
IDatabaseOperations^ operations,
String^ serverName,
String^ databaseName,
DatabaseUpdateParameters^ parameters
)
static member UpdateAsync :
operations:IDatabaseOperations *
serverName:string *
databaseName:string *
parameters:DatabaseUpdateParameters -> Task<DatabaseUpdateResponse>
<ExtensionAttribute>
Public Shared Function UpdateAsync (
operations As IDatabaseOperations,
serverName As String,
databaseName As String,
parameters As DatabaseUpdateParameters
) As Task(Of DatabaseUpdateResponse)
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Sql.IDatabaseOperationsReference to the Microsoft.WindowsAzure.Management.Sql.IDatabaseOperations.
serverName
Type: System.StringRequired. The name of the Azure SQL Database Server where the database is hosted.
databaseName
Type: System.StringRequired. The name of the Azure SQL Database to be updated.
parameters
Type: Microsoft.WindowsAzure.Management.Sql.Models.DatabaseUpdateParametersRequired. The parameters for the Update Database operation.
Return Value
Type: System.Threading.Tasks.Task<DatabaseUpdateResponse>
Contains the response from a request to Update Database.
See Also
DatabaseOperationsExtensions Class
Microsoft.WindowsAzure.Management.Sql Namespace
Return to top