OrderBy Class
Indicates the member by which to order results of a query and the direction, ascending or descending. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Inheritance Hierarchy
System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.OrderBy
Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class OrderBy
'Usage
Dim instance As OrderBy
[SerializableAttribute]
[ComVisibleAttribute(false)]
public class OrderBy
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class OrderBy
[<SerializableAttribute>]
[<ComVisibleAttribute(false)>]
type OrderBy =  class end
public class OrderBy
The OrderBy type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | OrderBy() | Intializes a new instance of the OrderBy object. Do not reference this member directly in your code. It supports the SQL Server infrastructure. | 
| .gif) | OrderBy(String, OrderBy.Direction) | Intializes a new instance of the OrderBy object. Do not reference this member directly in your code. It supports the SQL Server infrastructure. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | Dir | Gets or sets a OrderBy.Direction object that indicates the direction, ascending or descending order of results. Do not reference this member directly in your code. It supports the SQL Server infrastructure. | 
| .gif) | Field | Gets or sets a string value that specifies the field by which to order results of a query. Do not reference this member directly in your code. It supports the SQL Server infrastructure. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | (Inherited from Object.) | 
| .gif) | Finalize | (Inherited from Object.) | 
| .gif) | GetHashCode | (Inherited from Object.) | 
| .gif) | GetType | (Inherited from Object.) | 
| .gif) | MemberwiseClone | (Inherited from Object.) | 
| .gif) | ToString | (Inherited from Object.) | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.