共用方式為


ErrorMessage 屬性

The error message returned when a parameter value has failed validation.

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

語法

'宣告
Public Property ErrorMessage As String
    Get
    Set
'用途
Dim instance As ReportParameter
Dim value As String

value = instance.ErrorMessage

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

屬性值

型別:System. . :: . .String
A String value containing the error message returned when a parameter value has failed validation.

備註

This property may be used to display error messages to the user.