Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

SortOrder Enumeration

The SortOrder enumeration contains values that specify how objects are sorted in an enumerated list.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public enum SortOrder

Member nameDescription
NameObjects are sorted by name.
SchemaObjects are sorted by schema.
TypeObjects are sorted by object type.
UrnObjects are sorted by their URN values.

The SortOrder enumeration class is served by the EnumObjects method.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft