共用方式為


OrderColumn 建構 (UserDefinedFunction, String, Boolean)

Creates a OrderColumn points to a column with an order that is specified within a table-valued function that was created by using CREATE FUNCTION and the ORDER BY clause.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub New ( _
    udf As UserDefinedFunction, _
    name As String, _
    descending As Boolean _
)
'用途
Dim udf As UserDefinedFunction
Dim name As String
Dim descending As Boolean

Dim instance As New OrderColumn(udf, name, _
    descending)
public OrderColumn(
    UserDefinedFunction udf,
    string name,
    bool descending
)
public:
OrderColumn(
    UserDefinedFunction^ udf, 
    String^ name, 
    bool descending
)
new : 
        udf:UserDefinedFunction * 
        name:string * 
        descending:bool -> OrderColumn
public function OrderColumn(
    udf : UserDefinedFunction, 
    name : String, 
    descending : boolean
)

參數

  • descending
    型別:System. . :: . .Boolean
    Specifies whether the column is sorted ascending (false) or descending (true).