Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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).

Community Additions

Show:
© 2015 Microsoft