Validates the syntax of this GroupBy.
| C# | Visual Basic | Visual C++ |
public virtual void ValidateSyntax()
Public Overridable Sub ValidateSyntax
public: virtual void ValidateSyntax ()
A GroupBy is valid if the grouping key name is
non-null and non-empty, and the depth is non-negative.
| Exception | Condition |
|---|---|
| SyntaxException |
If the syntax requirements are not met.
|