WebSiteOperationsExtensions.GetPublishProfileAsync Method (IWebSiteOperations, String, String)
You can retrieve the publish settings information for a web site by issuing an HTTP GET request. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn166996.aspx for more information)
Namespace: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Syntax
public static Task<WebSiteGetPublishProfileResponse> GetPublishProfileAsync(
this IWebSiteOperations operations,
string webSpaceName,
string webSiteName
)
public:
[ExtensionAttribute]
static Task<WebSiteGetPublishProfileResponse^>^ GetPublishProfileAsync(
IWebSiteOperations^ operations,
String^ webSpaceName,
String^ webSiteName
)
static member GetPublishProfileAsync :
operations:IWebSiteOperations *
webSpaceName:string *
webSiteName:string -> Task<WebSiteGetPublishProfileResponse>
<ExtensionAttribute>
Public Shared Function GetPublishProfileAsync (
operations As IWebSiteOperations,
webSpaceName As String,
webSiteName As String
) As Task(Of WebSiteGetPublishProfileResponse)
Parameters
operations
Type: Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperationsReference to the Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations.
webSpaceName
Type: System.StringRequired. The name of the web space.
webSiteName
Type: System.StringRequired. The name of the web site.
Return Value
Type: System.Threading.Tasks.Task<WebSiteGetPublishProfileResponse>
The Get Publish Profile Web Site operation response.
See Also
WebSiteOperationsExtensions Class
Microsoft.WindowsAzure Namespace
Return to top