This topic has not yet been rated - Rate this topic

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).
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.