共用方式為


ErrorMessage 屬性

Gets the error message returned when a parameter value has failed validation.

命名空間:  ReportService2006
組件:  ReportService2006 (在 ReportService2006.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 that contains the error message returned when a parameter value has failed validation.

備註

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