ReportParameter 類別
Represents a report parameter.
繼承階層
System.Object
ReportService2005.ReportParameter
命名空間: ReportService2005
組件: ReportService2005 (在 ReportService2005.dll 中)
語法
'宣告
Public Class ReportParameter
'用途
Dim instance As ReportParameter
public class ReportParameter
public ref class ReportParameter
type ReportParameter = class end
public class ReportParameter
ReportParameter 型別公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
ReportParameter | Initializes a new instance of the ReportParameter class. |
上層
屬性
名稱 | 說明 | |
---|---|---|
AllowBlank | Indicates whether an empty string is a valid value for the parameter. | |
AllowBlankSpecified | Gets or sets a value that indicates whether the AllowBlank property is specified. | |
DefaultValues | Gets or sets the default value of the parameter. | |
DefaultValuesQueryBased | Indicates whether the default values of the parameter are based on a query. | |
DefaultValuesQueryBasedSpecified | Gets or sets a value that indicates whether the DefaultValuesQueryBased property is specified. | |
Dependencies | A list of parameters whose values are used to retrieve additional parameter values in a query. | |
ErrorMessage | The error message returned when a parameter value has failed validation. | |
MultiValue | Indicates whether the parameter is a multi-valued parameter. | |
MultiValueSpecified | Gets or sets a value that indicates whether the MultiValue property is specified. | |
Name | Gets or sets the name of the parameter. | |
Nullable | Indicates whether the value of the parameter can be nullnull 參考 (在 Visual Basic 中為 Nothing). | |
NullableSpecified | Gets or sets a value that indicates whether the Nullable property is specified. | |
Prompt | Gets or sets the text that prompts the user for parameter values. | |
PromptUser | Indicates whether the user is prompted for the value of the parameter. | |
PromptUserSpecified | Gets or sets a value that indicates whether the PromptUser property is specified. | |
QueryParameter | Indicates whether the parameter is used in a query. | |
QueryParameterSpecified | Gets or sets a value that indicates whether the QueryParameter property is specified. | |
State | Describes the state (ParameterStateEnum) of the parameter. | |
StateSpecified | Gets or sets a value that indicates whether the State property is specified. | |
Type | Gets or sets the data type (ParameterTypeEnum enumeration) of the parameter. | |
TypeSpecified | Gets or sets a value that indicates whether the Type property is specified. | |
ValidValues | The available ValidValues objects for the parameter. | |
ValidValuesQueryBased | Indicates whether the parameter's valid values are based on a query. | |
ValidValuesQueryBasedSpecified | Gets or sets a value that indicates whether the ValidValuesQueryBased property is specified. |
上層
方法
名稱 | 說明 | |
---|---|---|
Equals | (繼承自 Object。) | |
Finalize | (繼承自 Object。) | |
GetHashCode | (繼承自 Object。) | |
GetType | (繼承自 Object。) | |
MemberwiseClone | (繼承自 Object。) | |
ToString | (繼承自 Object。) |
上層
備註
A ReportParameter object is returned as output by the GetReportParameters method and is passed as input to the SetReportParameters method.
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。