OrderBy 类

Indicates the member by which to order results of a query and the direction, ascending or descending. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

继承层次结构

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.OrderBy

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class OrderBy
用法
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

OrderBy 类型公开以下成员。

构造函数

  名称 说明
公共方法 OrderBy() Intializes a new instance of the OrderBy object. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 OrderBy(String, OrderBy.Direction) Intializes a new instance of the OrderBy object. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

页首

属性

  名称 说明
公共属性 Dir Gets or sets a OrderBy.Direction object that indicates the direction, ascending or descending order of results. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共属性 Field Gets or sets a string value that specifies the field by which to order results of a query. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Management.Sdk.Sfc 命名空间