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
Public method OrderBy() Intializes a new instance of the OrderBy object. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method 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
Public property 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.
Public property 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
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method 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.