Dela via


WebSiteManagementClientExtensions.GetSourceControlAsync Method

Definition

Gets source control token

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

Parameters

operations
IWebSiteManagementClient

The operations group for this extension method.

sourceControlType
String

Type of source control

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Gets source control token

Applies to