List Sorting Constants (SQLDMO_OBJSORT_TYPE)
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.
List sorting constants are used to specify the order of returned SQLObjectList object members when the ListObjects and ListOwnedObjects methods are used.
Constant |
Value |
Description |
|---|---|---|
SQLDMOObjSort_Date |
3 |
List objects are ordered by creation date. |
SQLDMOObjSort_Name |
0 |
List objects are ordered by name. |
SQLDMOObjSort_Owner |
2 |
List objects are ordered by owner name. |
SQLDMOObjSort_Type |
1 |
List objects are ordered by type. |