ConnectionOperationsExtensions.DeleteAsync 方法 (IConnectionOperations, String, String)

 

删除连接。 (请参阅 https://aka.ms/azureautomationsdk/connectionoperations 有关详细信息)

命名空间:   Microsoft.WindowsAzure.Management.Automation
程序集:  Microsoft.WindowsAzure.Management.Automation(Microsoft.WindowsAzure.Management.Automation.dll 中)

语法

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)

参数

  • automationAccount
    Type: System.String

    必需。 自动管理帐户名称。

  • connectionName
    Type: System.String

    必需。 连接的名称。

返回值

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

标准服务响应,包括 HTTP 状态代码和请求 ID。

请参阅

ConnectionOperationsExtensions 类
Microsoft.WindowsAzure.Management.Automation 命名空间

返回页首