Udostępnij za pośrednictwem


WebSiteOperationsExtensions.SyncRepository 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 static Microsoft.Azure.AzureOperationResponse SyncRepository (this Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations operations, string webSpaceName, string webSiteName);
static member SyncRepository : Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations * string * string -> Microsoft.Azure.AzureOperationResponse
<Extension()>
Public Function SyncRepository (operations As IWebSiteOperations, webSpaceName As String, webSiteName As String) As AzureOperationResponse

Parameters

operations
IWebSiteOperations

Reference to the Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations.

webSpaceName
String

Required. The name of the web space.

webSiteName
String

Required. The name of the web site.

Returns

Microsoft.Azure.AzureOperationResponse

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

Applies to