OrderColumn Constructor (UserDefinedFunction, String)

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)

Syntax

'Declaration
Public Sub New ( _
    userDefinedFunction As UserDefinedFunction, _
    name As String _
)
'Usage
Dim userDefinedFunction As UserDefinedFunction 
Dim name As String 

Dim instance As New OrderColumn(userDefinedFunction, _
    name)
public OrderColumn(
    UserDefinedFunction userDefinedFunction,
    string name
)
public:
OrderColumn(
    UserDefinedFunction^ userDefinedFunction, 
    String^ name
)
new : 
        userDefinedFunction:UserDefinedFunction * 
        name:string -> OrderColumn
public function OrderColumn(
    userDefinedFunction : UserDefinedFunction, 
    name : String
)

Parameters

  • name
    Type: System.String
    A name you wish to assign to the column.

Remarks

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

See Also

Reference

OrderColumn Class

OrderColumn Overload

Microsoft.SqlServer.Management.Smo Namespace