Share via


IDatabaseCopyOperations.UpdateAsync Method (String, String, Guid, DatabaseCopyUpdateParameters, CancellationToken)

 

Updates a SQL Server database copy.

Namespace:   Microsoft.WindowsAzure.Management.Sql
Assembly:  Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)

Syntax

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
)
abstract UpdateAsync : 
        serverName:string *
        databaseName:string *
        databaseCopyName:Guid *
        parameters:DatabaseCopyUpdateParameters *
        cancellationToken:CancellationToken -> Task<DatabaseCopyUpdateResponse>
Function UpdateAsync (
    serverName As String,
    databaseName As String,
    databaseCopyName As Guid,
    parameters As DatabaseCopyUpdateParameters,
    cancellationToken As CancellationToken
) As Task(Of DatabaseCopyUpdateResponse)

Parameters

  • serverName
    Type: System.String

    The name of the source or destination SQL Server instance.

  • databaseCopyName
    Type: System.Guid

    The unique identifier for the database copy to update.

Return Value

Type: System.Threading.Tasks.Task<DatabaseCopyUpdateResponse>

Represents a response to the update request.

See Also

IDatabaseCopyOperations Interface
Microsoft.WindowsAzure.Management.Sql Namespace

Return to top