Intersoft ClientUI Documentation
SetError Method (ISqlParameterMetadata)



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
Sub SetError( _
   ByVal propertyName As String, _
   ByVal errorMessage As String _
) 
Dim instance As ISqlParameterMetadata
Dim propertyName As String
Dim errorMessage As String
 
instance.SetError(propertyName, errorMessage)
void SetError( 
   string propertyName,
   string errorMessage
)
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

ISqlParameterMetadata Interface
ISqlParameterMetadata Members

Send Feedback