Udostępnij za pośrednictwem


WebSiteOperationsExtensions.GetPublishProfileAsync Method

Definition

You can retrieve the publish settings information for a web site by issuing an HTTP GET request. (see http://msdn.microsoft.com/en-us/library/windowsazure/dn166996.aspx for more information)

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteGetPublishProfileResponse> GetPublishProfileAsync (this Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations operations, string webSpaceName, string webSiteName);
static member GetPublishProfileAsync : Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations * string * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteGetPublishProfileResponse>
<Extension()>
Public Function GetPublishProfileAsync (operations As IWebSiteOperations, webSpaceName As String, webSiteName As String) As Task(Of WebSiteGetPublishProfileResponse)

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 Publish Profile Web Site operation response.

Applies to