Validates the syntax of this Statement.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void ValidateSyntax()
Public Overridable Sub ValidateSyntax
public: virtual void ValidateSyntax ()
Remarks
A Statement is valid if
(1) the table-name is non-null and non-empty,
(2) the SelectList is non-null and valid,
and (3) if any of GroupByList,
OrderByList, whereFilter,
and havingFilter are non-null, they must be valid.
Exceptions
Exception | Condition |
---|---|
SyntaxException |
If the syntax requirements are not met.
|