ReportParameter Members

Represents a report parameter.

The following tables list the members exposed by the ReportParameter type.

Public Constructors

  名称 Description
ReportParameter  

顶部

Public Properties

  名称 Description
ms164251.pubproperty(zh-cn,SQL.90).gif AllowBlank Indicates whether an empty string is a valid value for the parameter. Read-only.
ms164251.pubproperty(zh-cn,SQL.90).gif AllowBlankSpecified Indicates that the AllowBlank property has been specified.
ms164251.pubproperty(zh-cn,SQL.90).gif DefaultValues Gets or sets the default values of the parameter.
ms164251.pubproperty(zh-cn,SQL.90).gif DefaultValuesQueryBased Indicates whether the default values of the parameter are based on a query. Boolean. Read-only.
ms164251.pubproperty(zh-cn,SQL.90).gif DefaultValuesQueryBasedSpecified Indicates whether the DefaultValuesQueryBased property has been specified.
ms164251.pubproperty(zh-cn,SQL.90).gif Dependencies Gets or sets a list of parameters whose values are used to retrieve additional parameter values in a query.
ms164251.pubproperty(zh-cn,SQL.90).gif ErrorMessage An error message, returned when the parameter has failed validation.
ms164251.pubproperty(zh-cn,SQL.90).gif MultiValue Indicates whether the parameter can be a multivalue parameter.
ms164251.pubproperty(zh-cn,SQL.90).gif MultiValueSpecified Indicates whether the MultiValue property has been specified.
ms164251.pubproperty(zh-cn,SQL.90).gif Name Gets or sets the name of the parameter.
ms164251.pubproperty(zh-cn,SQL.90).gif Nullable Indicates whether the value of the parameter can be null.
ms164251.pubproperty(zh-cn,SQL.90).gif NullableSpecified Indicates whether the Nullable property has been specified.
ms164251.pubproperty(zh-cn,SQL.90).gif Prompt Gets or sets the text that prompts the user to provide parameter values.
ms164251.pubproperty(zh-cn,SQL.90).gif PromptUser Indicates whether the user is prompted for the value of the parameter.
ms164251.pubproperty(zh-cn,SQL.90).gif PromptUserSpecified Indicates whether a value for the PromptUser property is specified.
ms164251.pubproperty(zh-cn,SQL.90).gif QueryParameter Indicates whether the parameter is used in a query to an external data source.
ms164251.pubproperty(zh-cn,SQL.90).gif QueryParameterSpecified Indicates whether the ReportParameter property has been specified.
ms164251.pubproperty(zh-cn,SQL.90).gif State Describes the state (ParameterStateEnum) of the parameter.
ms164251.pubproperty(zh-cn,SQL.90).gif StateSpecified Indicates whether the State property has been specified.
ms164251.pubproperty(zh-cn,SQL.90).gif Type The data type (ParameterTypeEnum) of the parameter.
ms164251.pubproperty(zh-cn,SQL.90).gif TypeSpecified Indicates whether the Type property has been specified.
ms164251.pubproperty(zh-cn,SQL.90).gif ValidValues The available valid values for the parameter. Read-only.
ms164251.pubproperty(zh-cn,SQL.90).gif ValidValuesQueryBased Indicates whether the parameter's valid values are based on a query. Read-only.
ms164251.pubproperty(zh-cn,SQL.90).gif ValidValuesQueryBasedSpecified Indicates whether the ValidValuesQueryBased property has been specified.

顶部

Public Methods

(see also Protected Methods )

  名称 Description
ms164251.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms164251.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms164251.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms164251.pubmethod(zh-cn,SQL.90).gifms164251.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms164251.pubmethod(zh-cn,SQL.90).gif ToString  (inherited from Object )

顶部

Protected Methods

  名称 Description
ms164251.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Object )
ms164251.protmethod(zh-cn,SQL.90).gif MemberwiseClone  (inherited from Object )

顶部

请参阅

参考

ReportParameter Class
Microsoft.WSSUX.ReportingServicesWebService.RSExecutionService2005 Namespace

其他资源

设置已发布报表的参数属性