ReportParameter 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示報表參數。
public ref class ReportParameter
public class ReportParameter
type ReportParameter = class
Public Class ReportParameter
- 繼承
-
ReportParameter
備註
ReportParameter物件會當做方法的輸出傳回 GetReportParameters ,並當做輸入傳遞給 SetReportParameters 方法。
建構函式
| ReportParameter() |
將 ReportParameter 類別的新執行個體初始化。 |
屬性
| AllowBlank |
取得或設定值,指出空白字串對參數而言是否為有效的值。 |
| AllowBlankSpecified |
取得或設定值,這個值表示是否已指定 AllowBlank 屬性。 |
| DefaultValues |
取得或設定參數的預設值。 |
| DefaultValuesQueryBased |
取得或設定值,指出參數的預設值是否根據查詢得來。 |
| DefaultValuesQueryBasedSpecified |
取得或設定值,這個值表示是否已指定 DefaultValuesQueryBased 屬性。 |
| Dependencies |
取得或設定參數的清單,這些參數的值是用來擷取查詢中的其他參數值。 |
| ErrorMessage |
取得當參數值驗證失敗時傳回的錯誤訊息。 |
| MultiValue |
取得或設定值,指出參數是否為多值參數。 |
| MultiValueSpecified |
取得或設定值,這個值表示是否已指定 MultiValue 屬性。 |
| Name |
取得或設定參數的名稱。 |
| Nullable |
取得或設定值,指出參數的值是否可以為 |
| NullableSpecified |
取得或設定值,這個值表示是否已指定 Nullable 屬性。 |
| Prompt |
取得或設定文字,以提示使用者提供參數值。 |
| PromptUser |
取得或設定值,指出是否會提示使用者輸入參數的值。 |
| PromptUserSpecified |
取得或設定值,這個值表示是否已指定 PromptUser 屬性。 |
| QueryParameter |
取得或設定值,指出參數是否會在查詢中使用。 |
| QueryParameterSpecified |
取得或設定值,這個值表示是否已指定 QueryParameter 屬性。 |
| State |
取得或設定描述參數狀態 (ParameterStateEnum) 的值。 |
| StateSpecified |
取得或設定值,這個值表示是否已指定 State 屬性。 |
| Type |
取得或設定參數的資料類型 (ParameterTypeEnum 列舉)。 |
| TypeSpecified |
取得或設定值,這個值表示是否已指定 Type 屬性。 |
| ValidValues |
取得或設定參數的可用 ValidValue 物件。 |
| ValidValuesQueryBased |
取得或設定值,指出參數的有效值是否根據查詢得來。 |
| ValidValuesQueryBasedSpecified |
取得或設定值,這個值表示是否已指定 ValidValuesQueryBased 屬性。 |