Share via


IWebSiteOperations.SyncRepositoryAsync Method (String, String, CancellationToken)

 

A web site repository is essentially a Git repository that you can use to manage your web site content. By using Git source control tools, you can push or pull version-controlled changes to your site. This API executes a repository sync operation. (see https://msdn.microsoft.com/library/windowsazure/dn166967.aspx for more information)

Namespace:   Microsoft.WindowsAzure.Management.WebSites
Assembly:  Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)

Syntax

Task<OperationResponse> SyncRepositoryAsync(
    string webSpaceName,
    string webSiteName,
    CancellationToken cancellationToken
)
Task<OperationResponse^>^ SyncRepositoryAsync(
    String^ webSpaceName,
    String^ webSiteName,
    CancellationToken cancellationToken
)
abstract SyncRepositoryAsync : 
        webSpaceName:string *
        webSiteName:string *
        cancellationToken:CancellationToken -> Task<OperationResponse>
Function SyncRepositoryAsync (
    webSpaceName As String,
    webSiteName As String,
    cancellationToken As CancellationToken
) As Task(Of OperationResponse)

Parameters

Return Value

Type: System.Threading.Tasks.Task<OperationResponse>

A standard service response including an HTTP status code and request ID.

See Also

IWebSiteOperations Interface
Microsoft.WindowsAzure.Management.WebSites Namespace

Return to top