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 Enumeration SortOrder
Dim instance As SortOrder
public enum SortOrder
public enum class SortOrder
type SortOrder
public enum SortOrder


Member name Description
Name Objects are sorted by name.
Schema Objects are sorted by schema.
Type Objects are sorted by object type.
Urn Objects are sorted by their URN values.


The SortOrder enumeration class is served by the EnumObjects method.