IDatabaseOperations.UpdateAsync 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.
Updates the properties of an Azure SQL Database.
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.DatabaseUpdateResponse> UpdateAsync (string serverName, string databaseName, Microsoft.WindowsAzure.Management.Sql.Models.DatabaseUpdateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member UpdateAsync : string * string * Microsoft.WindowsAzure.Management.Sql.Models.DatabaseUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.DatabaseUpdateResponse>
Public Function UpdateAsync (serverName As String, databaseName As String, parameters As DatabaseUpdateParameters, cancellationToken As CancellationToken) As Task(Of DatabaseUpdateResponse)
Parameters
- serverName
- String
The name of the Azure SQL Database Server where the database is hosted.
- databaseName
- String
The name of the Azure SQL Database to be updated.
- parameters
- DatabaseUpdateParameters
The parameters for the Update Database operation.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Contains the response from a request to Update Database.