OrderColumn Constructor (UserDefinedFunction, String, Boolean)
SQL Server 2008 R2
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.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Parameters
- udf
- Type: Microsoft.SqlServer.Management.Smo.UserDefinedFunction
The UserDefinedFunction object that was created with CREATE FUNCTION and the ORDER BY clause.
- name
- Type: System.String
A name you wish to assign to the column.
- descending
- Type: System.Boolean
Specifies whether the column is sorted ascending (false) or descending (true).
