DatabaseOperationsExtensions.UpdateAsync Method

Definition

Updates the properties of an Azure SQL Database.

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.DatabaseUpdateResponse> UpdateAsync (this Microsoft.WindowsAzure.Management.Sql.IDatabaseOperations operations, string serverName, string databaseName, Microsoft.WindowsAzure.Management.Sql.Models.DatabaseUpdateParameters parameters);
static member UpdateAsync : Microsoft.WindowsAzure.Management.Sql.IDatabaseOperations * string * string * Microsoft.WindowsAzure.Management.Sql.Models.DatabaseUpdateParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.DatabaseUpdateResponse>
<Extension()>
Public Function UpdateAsync (operations As IDatabaseOperations, serverName As String, databaseName As String, parameters As DatabaseUpdateParameters) As Task(Of DatabaseUpdateResponse)

Parameters

operations
IDatabaseOperations

Reference to the Microsoft.WindowsAzure.Management.Sql.IDatabaseOperations.

serverName
String

Required. The name of the Azure SQL Database Server where the database is hosted.

databaseName
String

Required. The name of the Azure SQL Database to be updated.

parameters
DatabaseUpdateParameters

Required. The parameters for the Update Database operation.

Returns

Contains the response from a request to Update Database.

Applies to