IDatabaseOperations.UpdateAsync Method (String, String, DatabaseUpdateParameters, CancellationToken)
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
Task<DatabaseUpdateResponse> UpdateAsync(
string serverName,
string databaseName,
DatabaseUpdateParameters parameters,
CancellationToken cancellationToken
)
Task<DatabaseUpdateResponse^>^ UpdateAsync(
String^ serverName,
String^ databaseName,
DatabaseUpdateParameters^ parameters,
CancellationToken cancellationToken
)
abstract UpdateAsync :
serverName:string *
databaseName:string *
parameters:DatabaseUpdateParameters *
cancellationToken:CancellationToken -> Task<DatabaseUpdateResponse>
Function UpdateAsync (
serverName As String,
databaseName As String,
parameters As DatabaseUpdateParameters,
cancellationToken As CancellationToken
) As Task(Of DatabaseUpdateResponse)
Parameters
serverName
Type: System.StringThe name of the Azure SQL Database Server where the database is hosted.
databaseName
Type: System.StringThe name of the Azure SQL Database to be updated.
parameters
Type: Microsoft.WindowsAzure.Management.Sql.Models.DatabaseUpdateParametersThe parameters for the Update Database operation.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<DatabaseUpdateResponse>
Contains the response from a request to Update Database.
See Also
IDatabaseOperations Interface
Microsoft.WindowsAzure.Management.Sql Namespace
Return to top