IWebSiteOperations.GetPublishProfileAsync Method (String, String, CancellationToken)
Asynchronously retrieves the publish settings information for a website.
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Function GetPublishProfileAsync ( webSpaceName As String, webSiteName As String, cancellationToken As CancellationToken ) As Task(Of WebSiteGetPublishProfileResponse)
Parameters
- webSpaceName
-
Type:
System.String
The name of the web space.
- webSiteName
-
Type:
System.String
The name of the website.
- cancellationToken
-
Type:
System.Threading.CancellationToken
The cancellation token.
Return Value
Type: System.Threading.Tasks.Task(Of WebSiteGetPublishProfileResponse)An WebSiteGetPublishProfileResponse object that contains the publish settings.
For more information about retrieving publish settings, see Get a Site’s Publish Profile.
Show: