IDatabaseCopyOperations.UpdateAsync Method
Updates a SQL Server database copy.
Namespace: Microsoft.WindowsAzure.Management.Sql
Assembly: Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)
Usage
'Usage
Dim instance As IDatabaseCopyOperations
Dim serverName As String
Dim databaseName As String
Dim databaseCopyName As Guid
Dim parameters As DatabaseCopyUpdateParameters
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of DatabaseCopyUpdateResponse)
returnValue = instance.UpdateAsync(serverName, databaseName, databaseCopyName, parameters, cancellationToken)
Syntax
'Declaration
Function UpdateAsync ( _
serverName As String, _
databaseName As String, _
databaseCopyName As Guid, _
parameters As DatabaseCopyUpdateParameters, _
cancellationToken As CancellationToken _
) As Task(Of DatabaseCopyUpdateResponse)
Task<DatabaseCopyUpdateResponse> UpdateAsync (
string serverName,
string databaseName,
Guid databaseCopyName,
DatabaseCopyUpdateParameters parameters,
CancellationToken cancellationToken
)
Task<DatabaseCopyUpdateResponse^>^ UpdateAsync (
String^ serverName,
String^ databaseName,
Guid databaseCopyName,
DatabaseCopyUpdateParameters^ parameters,
CancellationToken cancellationToken
)
Task<DatabaseCopyUpdateResponse> UpdateAsync (
String serverName,
String databaseName,
Guid databaseCopyName,
DatabaseCopyUpdateParameters parameters,
CancellationToken cancellationToken
)
function UpdateAsync (
serverName : String,
databaseName : String,
databaseCopyName : Guid,
parameters : DatabaseCopyUpdateParameters,
cancellationToken : CancellationToken
) : Task<DatabaseCopyUpdateResponse>
Parameters
- serverName
The name of the source or destination SQL Server instance.
- databaseName
The name of the database.
- databaseCopyName
The unique identifier for the database copy to update.
- parameters
The additional parameters for the update database copy operation.
- cancellationToken
Cancellation token.
Return Value
Represents a response to the update request.
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
IDatabaseCopyOperations Interface
IDatabaseCopyOperations Members
Microsoft.WindowsAzure.Management.Sql Namespace