共用方式為


ItemParameter.ParameterStateName 屬性

Gets or sets the state of the parameter.

命名空間:  ReportService2010
組件:  ReportService2010 (在 ReportService2010.dll 中)

語法

'宣告
Public Property ParameterStateName As String 
    Get 
    Set
'用途
Dim instance As ItemParameter 
Dim value As String 

value = instance.ParameterStateName

instance.ParameterStateName = value
public string ParameterStateName { get; set; }
public:
property String^ ParameterStateName {
    String^ get ();
    void set (String^ value);
}
member ParameterStateName : string with get, set
function get ParameterStateName () : String 
function set ParameterStateName (value : String)

屬性值

型別:System.String
A String value that represents the state of the parameter if it is specified; otherwise, nullnull 參考 (在 Visual Basic 中為 Nothing) (Nothing in Visual Basic).

備註

The value of this property may change based on input during the validation of the parameter by the GetItemParameters(String, String, Boolean, array<ParameterValue[], array<DataSourceCredentials[]) method.

For a list of valid values for this properties, use the ListParameterStates method.

請參閱

參考

ItemParameter 類別

ReportService2010 命名空間