語言

ReportingService2010.ListParameterStates 方法

定義

回傳一份支援參數狀態的清單。

public:
 cli::array <System::String ^> ^ ListParameterStates();
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListParameterStates", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public string[] ListParameterStates();
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListParameterStates", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)>]
[<System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")>]
[<System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
member this.ListParameterStates : unit -> string[]
Public Function ListParameterStates () As String()

傳回

String[]

一個代表支援參數狀態的物件陣列 String 。

屬性

備註

下表顯示此操作的標頭與權限資訊。

SOAP 標頭的使用 (在) TrustedUserHeaderValue

(出局) ServerInfoHeaderValue
原生模式所需權限 None
SharePoint 模式 必要權限 None

支援以下參數狀態。

參數狀態 Description
DynamicValuesUnavailable 參數值無法取得。 此狀態表示查詢結果不會回傳有效的查詢值。
HasOutstandingDependencies 該參數有顯著的依賴關係。 這通常發生在參數的有效值或預設值是基於查詢的,且存在尚未提交給 GetItemParameters 方法的依賴關係時。
HasValidValue 參數存在一個有效的值。
MissingValidValue 該參數沒有有效的值。

適用於