Partager via


Constructeur 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.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    udf As UserDefinedFunction, _
    name As String, _
    descending As Boolean _
)
'Utilisation
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
)

Paramètres

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