IDatabaseCopyOperations.DeleteAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Stops a SQL Server database copy.
public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAsync (string serverName, string databaseName, Guid databaseCopyName, System.Threading.CancellationToken cancellationToken);
abstract member DeleteAsync : string * string * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function DeleteAsync (serverName As String, databaseName As String, databaseCopyName As Guid, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)
Parameters
- serverName
- String
The name of the source or destination SQL Server instance.
- databaseName
- String
The name of the database.
- databaseCopyName
- Guid
The unique identifier for the database copy to stop.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Task<Microsoft.Azure.AzureOperationResponse>
A standard service response including an HTTP status code and request ID.