WebSiteOperationsExtensions.GetRepository Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
public static Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteGetRepositoryResponse GetRepository (this Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations operations, string webSpaceName, string webSiteName);
static member GetRepository : Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations * string * string -> Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteGetRepositoryResponse
<Extension()>
Public Function GetRepository (operations As IWebSiteOperations, webSpaceName As String, webSiteName As String) As WebSiteGetRepositoryResponse
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
The Get Repository Web Site operation response.
Applies to
Azure SDK for .NET