Share via


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)

Syntax

'Declaration
Public Enumeration SortOrder
'Usage
Dim instance As SortOrder
public enum SortOrder
public enum class SortOrder
type SortOrder
public enum SortOrder

Members

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.

Remarks

The SortOrder enumeration class is served by the EnumObjects method.