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
operations
Type: Microsoft.WindowsAzure.Management.Automation.IConnectionOperationsReference to the Microsoft.WindowsAzure.Management.Automation.IConnectionOperations.
automationAccount
Type: System.StringRequired. The automation account name.
connectionName
Type: System.StringRequired. 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