ReportParameter Members

Represents a report parameter.

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

Public Constructors

  名稱 Description
ReportParameter Initializes a new instance of the ReportParameter class.

頂端

Public Properties

  名稱 Description
Bb153799.pubproperty(zh-tw,SQL.90).gif AllowBlank Gets or sets a value that indicates whether an empty string is a valid value for the parameter.
Bb153799.pubproperty(zh-tw,SQL.90).gif AllowBlankSpecified Gets or sets a value that indicates whether the AllowBlank property is specified.
Bb153799.pubproperty(zh-tw,SQL.90).gif DefaultValues Gets or sets the default values for the parameter.
Bb153799.pubproperty(zh-tw,SQL.90).gif DefaultValuesQueryBased Gets or sets a value that indicates whether the default values for the parameter are based on a query.
Bb153799.pubproperty(zh-tw,SQL.90).gif DefaultValuesQueryBasedSpecified Gets or sets a value that indicates whether the DefaultValuesQueryBased property is specified.
Bb153799.pubproperty(zh-tw,SQL.90).gif Dependencies Gets or sets a list of parameters whose values are used to retrieve additional parameter values in a query.
Bb153799.pubproperty(zh-tw,SQL.90).gif ErrorMessage Gets the error message returned when a parameter value has failed validation.
Bb153799.pubproperty(zh-tw,SQL.90).gif MultiValue Gets or sets a value that indicates whether the parameter is a multivalued parameter.
Bb153799.pubproperty(zh-tw,SQL.90).gif MultiValueSpecified Gets or sets a value that indicates whether the MultiValue property is specified.
Bb153799.pubproperty(zh-tw,SQL.90).gif Name Gets or sets the name of the parameter.
Bb153799.pubproperty(zh-tw,SQL.90).gif Nullable Gets or sets a value that indicates whether the value of the parameter can be null.
Bb153799.pubproperty(zh-tw,SQL.90).gif NullableSpecified Gets or sets a value that indicates whether the Nullable property is specified.
Bb153799.pubproperty(zh-tw,SQL.90).gif Prompt Gets or sets the text that prompts the user for parameter values.
Bb153799.pubproperty(zh-tw,SQL.90).gif PromptUser Gets or sets a value that indicates whether the user is prompted for the value of the parameter.
Bb153799.pubproperty(zh-tw,SQL.90).gif PromptUserSpecified Gets or sets a value that indicates whether the PromptUser property is specified.
Bb153799.pubproperty(zh-tw,SQL.90).gif QueryParameter Gets or sets a value that indicates whether the parameter is used in a query.
Bb153799.pubproperty(zh-tw,SQL.90).gif QueryParameterSpecified Gets or sets a value that indicates whether the QueryParameter property is specified.
Bb153799.pubproperty(zh-tw,SQL.90).gif State Gets or sets a value that describes the state (ParameterStateEnum) of the parameter.
Bb153799.pubproperty(zh-tw,SQL.90).gif StateSpecified Gets or sets a value that indicates whether the State property is specified.
Bb153799.pubproperty(zh-tw,SQL.90).gif Type Gets or sets the data type (ParameterTypeEnum enumeration) of the parameter.
Bb153799.pubproperty(zh-tw,SQL.90).gif TypeSpecified Gets or sets a value that indicates whether the Type property is specified.
Bb153799.pubproperty(zh-tw,SQL.90).gif ValidValues Gets or sets the available ValidValue objects for the parameter.
Bb153799.pubproperty(zh-tw,SQL.90).gif ValidValuesQueryBased Gets or sets a value that indicates whether the parameter's valid values are based on a query.
Bb153799.pubproperty(zh-tw,SQL.90).gif ValidValuesQueryBasedSpecified Gets or sets a value that indicates whether the ValidValuesQueryBased property is specified.

頂端

Public Methods

(see also Protected Methods )

  名稱 Description
Bb153799.pubmethod(zh-tw,SQL.90).gif Equals  Overloaded. (inherited from Object )
Bb153799.pubmethod(zh-tw,SQL.90).gif GetHashCode  (inherited from Object )
Bb153799.pubmethod(zh-tw,SQL.90).gif GetType  (inherited from Object )
Bb153799.pubmethod(zh-tw,SQL.90).gifBb153799.static(zh-tw,SQL.90).gif ReferenceEquals  (inherited from Object )
Bb153799.pubmethod(zh-tw,SQL.90).gif ToString  (inherited from Object )

頂端

Protected Methods

  名稱 Description
Bb153799.protmethod(zh-tw,SQL.90).gif Finalize  (inherited from Object )
Bb153799.protmethod(zh-tw,SQL.90).gif MemberwiseClone  (inherited from Object )

頂端

請參閱

參考

ReportParameter Class
ReportService2006 Namespace