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 http://msdn.microsoft.com/library/windowsazure/dn166967.aspx for more information)
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Task<OperationResponse> SyncRepositoryAsync( string webSpaceName, string webSiteName, CancellationToken cancellationToken )
Parameters
- webSpaceName
-
Type:
System.String
The name of the web space.
- webSiteName
-
Type:
System.String
The name of the web site.
- cancellationToken
-
Type:
System.Threading.CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks.Task<OperationResponse>A standard service response including an HTTP status code and request ID.
Show: