Udostępnij za pośrednictwem


ConnectionOperationsExtensions.DeleteAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAsync (this Microsoft.WindowsAzure.Management.Automation.IConnectionOperations operations, string automationAccount, string connectionName);
static member DeleteAsync : Microsoft.WindowsAzure.Management.Automation.IConnectionOperations * string * string -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function DeleteAsync (operations As IConnectionOperations, automationAccount As String, connectionName As String) As Task(Of AzureOperationResponse)

Parameters

operations
IConnectionOperations

Reference to the Microsoft.WindowsAzure.Management.Automation.IConnectionOperations.

automationAccount
String

Required. The automation account name.

connectionName
String

Required. The name of connection.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to