共用方式為


LinkedWorkspaceOperationsExtensions.GetAsync 方法

定義

擷取帳戶識別碼的連結工作區。 http://aka.ms/azureautomationsdk/linkedworkspaceoperations

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

參數

operations
ILinkedWorkspaceOperations

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

resourceGroupName
String

Azure 資源群組的名稱。

automationAccountName
String

自動化帳戶的名稱。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於