Udostępnij przez


OrderColumn Constructor (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 (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
Public Sub New ( _
    udf As UserDefinedFunction, _
    name As String, _
    descending As Boolean _
)
public OrderColumn (
    UserDefinedFunction udf,
    string name,
    bool descending
)
public:
OrderColumn (
    UserDefinedFunction^ udf, 
    String^ name, 
    bool descending
)
public OrderColumn (
    UserDefinedFunction udf, 
    String name, 
    boolean descending
)
public function OrderColumn (
    udf : UserDefinedFunction, 
    name : String, 
    descending : boolean
)

Parameters

  • udf
    The UserDefinedFunction object that was created with CREATE FUNCTION and the ORDER BY clause.
  • name
    A name you wish to assign to the column.
  • descending
    Specifies whether the column is sorted ascending (false) or descending (true).

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.