IDatabaseOperations.UpdateAsync Method
Updates the properties of an Azure SQL Database.
Namespace: Microsoft.WindowsAzure.Management.Sql
Assembly: Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)
Usage
'Usage
Dim instance As IDatabaseOperations
Dim serverName As String
Dim databaseName As String
Dim parameters As DatabaseUpdateParameters
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of DatabaseUpdateResponse)
returnValue = instance.UpdateAsync(serverName, databaseName, parameters, cancellationToken)
Syntax
'Declaration
Function UpdateAsync ( _
serverName As String, _
databaseName As String, _
parameters As DatabaseUpdateParameters, _
cancellationToken As CancellationToken _
) As Task(Of DatabaseUpdateResponse)
Task<DatabaseUpdateResponse> UpdateAsync (
string serverName,
string databaseName,
DatabaseUpdateParameters parameters,
CancellationToken cancellationToken
)
Task<DatabaseUpdateResponse^>^ UpdateAsync (
String^ serverName,
String^ databaseName,
DatabaseUpdateParameters^ parameters,
CancellationToken cancellationToken
)
Task<DatabaseUpdateResponse> UpdateAsync (
String serverName,
String databaseName,
DatabaseUpdateParameters parameters,
CancellationToken cancellationToken
)
function UpdateAsync (
serverName : String,
databaseName : String,
parameters : DatabaseUpdateParameters,
cancellationToken : CancellationToken
) : Task<DatabaseUpdateResponse>
Parameters
- serverName
The name of the Azure SQL Database Server where the database is hosted.
- databaseName
The name of the Azure SQL Database to be updated.
- parameters
The parameters for the Update Database operation.
- cancellationToken
Cancellation token.
Return Value
Contains the response from a request to Update Database.
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
IDatabaseOperations Interface
IDatabaseOperations Members
Microsoft.WindowsAzure.Management.Sql Namespace