Share via


ConnectionOperationsExtensions.DeleteAsync Method (IConnectionOperations, String, String)

 

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

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

Syntax

public static Task<AzureOperationResponse> DeleteAsync(
    this IConnectionOperations operations,
    string automationAccount,
    string connectionName
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ DeleteAsync(
    IConnectionOperations^ operations,
    String^ automationAccount,
    String^ connectionName
)
static member DeleteAsync : 
        operations:IConnectionOperations *
        automationAccount:string *
        connectionName:string -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function DeleteAsync (
    operations As IConnectionOperations,
    automationAccount As String,
    connectionName As String
) As Task(Of AzureOperationResponse)

Parameters

  • automationAccount
    Type: System.String

    Required. The automation account name.

  • connectionName
    Type: System.String

    Required. The name of connection.

Return Value

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

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

See Also

ConnectionOperationsExtensions Class
Microsoft.WindowsAzure.Management.Automation Namespace

Return to top