Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
The T-SQL ORDER BY clause to use or an empty string. The default value is an empty string.
[This is preliminary documentation and is subject to change.]
Sets or gets the T-SQL clause that defines the sort instruction for the returned data.
Namespace: ContentStudio.Document.EPT
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
Property Value
Type: StringThe T-SQL ORDER BY clause to use or an empty string. The default value is an empty string.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The filter criteria cannot be null. |
CSInvalidParameterException | The SQL expression is invalid |
Remarks
This value must be valid in a T-SQL ORDER BY clause, e.g. [myfield] DESC. All field names must appear between brackets and must exist in the field collection.
To add fields to the field collection use the AddField(String) method or one of the overloaded versions of this method.
All field names are case sensitive
Note |
---|
The syntax of this filter is checked for Sql-injection attacks and will throw an exception if any invalid statement is supplied. |
Examples
[myField] DESC
See Also