WebSiteOperationsExtensions.GetPublishProfileAsync 方法 (IWebSiteOperations, String, String)
可以通过发出 HTTP GET 请求来检索网站的发布设置信息。 (请参阅 https://msdn.microsoft.com/en-us/library/windowsazure/dn166996.aspx 有关详细信息)
命名空间: Microsoft.WindowsAzure
程序集: Microsoft.WindowsAzure.Management.WebSites(Microsoft.WindowsAzure.Management.WebSites.dll 中)
语法
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)
参数
operations
Type: Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations对 Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations 引用。
webSpaceName
Type: System.String必需。 Web 空间的名称。
webSiteName
Type: System.String必需。 网站的名称。
返回值
Type: System.Threading.Tasks.Task<WebSiteGetPublishProfileResponse>
获取发布配置文件网站操作响应。
请参阅
WebSiteOperationsExtensions 类
Microsoft.WindowsAzure 命名空间
返回页首