WebSiteOperationsExtensions.CreateRepositoryAsync Method

Asynchronously creates a website repository.

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

Dim operations As IWebSiteOperations
Dim webSpaceName As String
Dim webSiteName As String
Dim returnValue As Task(Of OperationResponse)

returnValue = WebSiteOperationsExtensions.CreateRepositoryAsync(operations, webSpaceName, webSiteName)

public static Task<OperationResponse> CreateRepositoryAsync (
	IWebSiteOperations operations,
	string webSpaceName,
	string webSiteName
/** @attribute ExtensionAttribute() */ 
public static Task<OperationResponse> CreateRepositoryAsync (
	IWebSiteOperations operations, 
	String webSpaceName, 
	String webSiteName
public static function CreateRepositoryAsync (
	operations : IWebSiteOperations, 
	webSpaceName : String, 
	webSiteName : String
) : Task<OperationResponse>



The object that specifies the operations for websites.


The name of the web space.


The name of the website.

Return Value

An OperationResponse object that includes an HTTP status code and request ID.

For more information about creating a repository, see Create (POST) or Retrieve (GET) a Website Repository.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms