ReportingService2010.ListParameterStates 方法

定义

返回支持的参数状态的列表。Returns a list of supported parameter states.

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对象的数组,这些对象表示支持的参数状态。An array of String objects that represent the supported parameter states.

属性

注解

下表显示了有关此操作的标头和权限信息。The table below shows header and permissions information on this operation.

SOAP 标头用法SOAP Header Usage (In) TrustedUserHeaderValue(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue(Out) ServerInfoHeaderValue
纯模式所需的权限Native Mode Required Permissions None
SharePoint 模式所需的权限SharePoint Mode Required Permissions None

支持以下参数状态。The following parameter states are supported.

参数状态Parameter State 描述Description
DynamicValuesUnavailable 参数值不可用。The parameter values are unavailable. 此状态指示没有有效的基于查询的值作为查询结果返回。This state indicates that no valid, query-based values are returned as a result of the query.
HasOutstandingDependencies 该参数有待定的依赖项。The parameter has outstanding dependencies. 这通常在以下情况下发生:参数的有效值或默认值基于查询,并且存在尚未提交到 GetItemParameters 方法的依赖项。This generally occurs when the valid values or the default value of a parameter is query-based and dependencies exist that have not been submitted to the GetItemParameters method.
HasValidValue 参数的有效值存在。A valid value for the parameter exists.
MissingValidValue 参数的有效值不存在。A valid value for the parameter does not exist.

适用于