共用方式為


WatcherOperationsExtensions.DeleteAsync 方法

定義

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.Automation.IWatcherOperations operations, string resourceGroupName, string automationAccountName, string watcherName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.Automation.IWatcherOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As IWatcherOperations, resourceGroupName As String, automationAccountName As String, watcherName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

參數

operations
IWatcherOperations

這個擴充方法的作業群組。

resourceGroupName
String

Azure 資源群組的名稱。

automationAccountName
String

自動化帳戶的名稱。

watcherName
String

監看員名稱。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於