Partager via


Propriété ErrorMessage

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

Espace de noms :  ReportService2010
Assembly :  ReportService2010 (en ReportService2010.dll)

Syntaxe

'Déclaration
Public Property ErrorMessage As String
    Get
    Set
'Utilisation
Dim instance As ItemParameter
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)

Valeur de propriété

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

Notes

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