OrderColumn-Konstruktor (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)
Syntax
'Declaration
Public Sub New ( _
udf As UserDefinedFunction, _
name As String, _
descending As Boolean _
)
'Usage
Dim udf As UserDefinedFunction
Dim name As String
Dim descending As Boolean
Dim instance As New OrderColumn(udf, name, _
descending)
public OrderColumn(
UserDefinedFunction udf,
string name,
bool descending
)
public:
OrderColumn(
UserDefinedFunction^ udf,
String^ name,
bool descending
)
new :
udf:UserDefinedFunction *
name:string *
descending:bool -> OrderColumn
public function OrderColumn(
udf : UserDefinedFunction,
name : String,
descending : boolean
)
Parameter
- udf
Typ: Microsoft.SqlServer.Management.Smo. . :: . .UserDefinedFunction
The UserDefinedFunction object that was created with CREATE FUNCTION and the ORDER BY clause.
- name
Typ: System. . :: . .String
A name you wish to assign to the column.
- descending
Typ: System. . :: . .Boolean
Specifies whether the column is sorted ascending (false) or descending (true).
Siehe auch