Udostępnij za pośrednictwem


IWebSiteOperations.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 System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteGetPublishProfileResponse> GetPublishProfileAsync (string webSpaceName, string webSiteName, System.Threading.CancellationToken cancellationToken);
abstract member GetPublishProfileAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteGetPublishProfileResponse>
Public Function GetPublishProfileAsync (webSpaceName As String, webSiteName As String, cancellationToken As CancellationToken) As Task(Of WebSiteGetPublishProfileResponse)

Parameters

webSpaceName
String

The name of the web space.

webSiteName
String

The name of the web site.

cancellationToken
CancellationToken

Cancellation token.

Returns

The Get Publish Profile Web Site operation response.

Applies to