WebSiteOperationsExtensions.GetRepository 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 get operation. (see http://msdn.microsoft.com/en-us/library/windowsazure/dn166967.aspx for more information)
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
public static WebSiteGetRepositoryResponse GetRepository( this IWebSiteOperations operations, string webSpaceName, string webSiteName )
Parameters
- operations
-
Type:
Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations
Reference to the Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations.
- 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: Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteGetRepositoryResponseThe Get Repository Web Site operation response.
Show: