语言

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 该参数没有有效的值。

适用于