Share via


WebSiteOperationsExtensions.SyncRepositoryAsync Method (IWebSiteOperations, String, String)

 

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

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

Syntax

public static Task<OperationResponse> SyncRepositoryAsync(
    this IWebSiteOperations operations,
    string webSpaceName,
    string webSiteName
)
public:
[ExtensionAttribute]
static Task<OperationResponse^>^ SyncRepositoryAsync(
    IWebSiteOperations^ operations,
    String^ webSpaceName,
    String^ webSiteName
)
static member SyncRepositoryAsync : 
        operations:IWebSiteOperations *
        webSpaceName:string *
        webSiteName:string -> Task<OperationResponse>
<ExtensionAttribute>
Public Shared Function SyncRepositoryAsync (
    operations As IWebSiteOperations,
    webSpaceName As String,
    webSiteName As String
) As Task(Of OperationResponse)

Parameters

  • webSpaceName
    Type: System.String

    Required. The name of the web space.

  • webSiteName
    Type: System.String

    Required. The name of the web site.

Return Value

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

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

See Also

WebSiteOperationsExtensions Class
Microsoft.WindowsAzure Namespace

Return to top