Udostępnij za pośrednictwem


IConnectionOperations.DeleteAsync(String, String, CancellationToken) Method

Definition

Delete the connection. (see http://aka.ms/azureautomationsdk/connectionoperations for more information)

public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAsync (string automationAccount, string connectionName, System.Threading.CancellationToken cancellationToken);
abstract member DeleteAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function DeleteAsync (automationAccount As String, connectionName As String, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

Parameters

automationAccount
String

The automation account name.

connectionName
String

The name of connection.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Applies to