共用方式為


WebSiteManagementClientExtensions.GetSourceControlAsync 方法

定義

取得原始檔控制權杖

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.SourceControlInner> GetSourceControlAsync (this Microsoft.Azure.Management.AppService.Fluent.IWebSiteManagementClient operations, string sourceControlType, System.Threading.CancellationToken cancellationToken = default);
static member GetSourceControlAsync : Microsoft.Azure.Management.AppService.Fluent.IWebSiteManagementClient * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.SourceControlInner>
<Extension()>
Public Function GetSourceControlAsync (operations As IWebSiteManagementClient, sourceControlType As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SourceControlInner)

參數

operations
IWebSiteManagementClient

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

sourceControlType
String

原始檔控制的類型

cancellationToken
CancellationToken

取消語彙基元。

傳回

備註

取得原始檔控制權杖的描述

適用於