Dela via


ReportParameter.ErrorMessage Property

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

Namespace:  ReportService2005
Assembly:  ReportService2005 (in ReportService2005.dll)

Syntax

'Declaration
Public Property ErrorMessage As String
    Get
    Set
'Usage
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)

Property Value

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

Remarks

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