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)

public OrderColumn(
	UserDefinedFunction udf,
	string name,
	bool descending
)

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

Return to top
Show: