Intersoft ClientUI Documentation
SetError Method (SqlReportParameterMetadata)



The name of the property or column to retrieve validation errors for.
The validation error message to display.
Set the validation error to the property or column supplied in the parameter.
Syntax
Public Sub SetError( _
   ByVal propertyName As String, _
   ByVal errorMessage As String _
) 
Dim instance As SqlReportParameterMetadata
Dim propertyName As String
Dim errorMessage As String
 
instance.SetError(propertyName, errorMessage)
public void SetError( 
   string propertyName,
   string errorMessage
)
public:
void SetError( 
   String^ propertyName,
   String^ errorMessage
) 

Parameters

propertyName
The name of the property or column to retrieve validation errors for.
errorMessage
The validation error message to display.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SqlReportParameterMetadata Class
SqlReportParameterMetadata Members

Send Feedback