Export (0) Print
Expand All

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: String
A name you wish to assign to the column.
descending
Type: Boolean
Specifies whether the column is sorted ascending (false) or descending (true).
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft