WebSiteOperationsExtensions.GetPublishProfileAsync Method (IWebSiteOperations, String, String)
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)
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
public static Task<WebSiteGetPublishProfileResponse> GetPublishProfileAsync( this IWebSiteOperations operations, string webSpaceName, string webSiteName )
Parameters
- operations
-
Type:
Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations
Reference to the Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations.
- webSpaceName
-
Type:
System.String
Required. The name of the web space.
- webSiteName
-
Type:
System.String
Required. The name of the web site.
Return Value
Type: System.Threading.Tasks.Task<WebSiteGetPublishProfileResponse>The Get Publish Profile Web Site operation response.
Show: