Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
)
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).