WebSiteOperationsExtensions.DeleteRepository 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 delete 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 WebSiteDeleteRepositoryResponse DeleteRepository(
this IWebSiteOperations operations,
string webSpaceName,
string webSiteName
)
public:
[ExtensionAttribute]
static WebSiteDeleteRepositoryResponse^ DeleteRepository(
IWebSiteOperations^ operations,
String^ webSpaceName,
String^ webSiteName
)
static member DeleteRepository :
operations:IWebSiteOperations *
webSpaceName:string *
webSiteName:string -> WebSiteDeleteRepositoryResponse
<ExtensionAttribute>
Public Shared Function DeleteRepository (
operations As IWebSiteOperations,
webSpaceName As String,
webSiteName As String
) As WebSiteDeleteRepositoryResponse
Parameters
operations
Type: Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperationsReference to the Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations.
webSpaceName
Type: System.StringRequired. The name of the web space.
webSiteName
Type: System.StringRequired. The name of the web site.
Return Value
Type: Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteDeleteRepositoryResponse
The Delete Repository Web Site operation response.
See Also
WebSiteOperationsExtensions Class
Microsoft.WindowsAzure Namespace
Return to top