Partilhar via


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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Sub New ( _
    udf As UserDefinedFunction, _
    name As String, _
    descending As Boolean _
)
'Uso
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
)

Parâmetros

  • name
    Tipo: System.String
    A name you wish to assign to the column.
  • descending
    Tipo: System.Boolean
    Specifies whether the column is sorted ascending (false) or descending (true).

Consulte também

Referência

OrderColumn Classe

Sobrecarregado OrderColumn

Namespace Microsoft.SqlServer.Management.Smo