Udostępnij za pośrednictwem


IWebSiteOperations.SyncRepositoryAsync Method

Definition

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 http://msdn.microsoft.com/en-us/library/windowsazure/dn166967.aspx for more information)

public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> SyncRepositoryAsync (string webSpaceName, string webSiteName, System.Threading.CancellationToken cancellationToken);
abstract member SyncRepositoryAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function SyncRepositoryAsync (webSpaceName As String, webSiteName As String, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

Parameters

webSpaceName
String

The name of the web space.

webSiteName
String

The name of the web site.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to