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
System.String

Type of source control

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<SourceControl>

Remarks

Description for Gets source control token

Applies to