Share via


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

 

Updates a SQL Server database copy.

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

Syntax

public static Task<DatabaseCopyUpdateResponse> UpdateAsync(
    this IDatabaseCopyOperations operations,
    string serverName,
    string databaseName,
    Guid databaseCopyName,
    DatabaseCopyUpdateParameters parameters
)
public:
[ExtensionAttribute]
static Task<DatabaseCopyUpdateResponse^>^ UpdateAsync(
    IDatabaseCopyOperations^ operations,
    String^ serverName,
    String^ databaseName,
    Guid databaseCopyName,
    DatabaseCopyUpdateParameters^ parameters
)
static member UpdateAsync : 
        operations:IDatabaseCopyOperations *
        serverName:string *
        databaseName:string *
        databaseCopyName:Guid *
        parameters:DatabaseCopyUpdateParameters -> Task<DatabaseCopyUpdateResponse>
<ExtensionAttribute>
Public Shared Function UpdateAsync (
    operations As IDatabaseCopyOperations,
    serverName As String,
    databaseName As String,
    databaseCopyName As Guid,
    parameters As DatabaseCopyUpdateParameters
) As Task(Of DatabaseCopyUpdateResponse)

Parameters

  • serverName
    Type: System.String

    Required. The name of the source or destination SQL Server instance.

  • databaseName
    Type: System.String

    Required. The name of the database.

  • databaseCopyName
    Type: System.Guid

    Required. 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

DatabaseCopyOperationsExtensions Class
Microsoft.WindowsAzure.Management.Sql Namespace

Return to top