Share via


UserDefinedFunction.OrderColumns Property

Returns the OrderColumnsCollection that is associated with this user-defined function.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(OrderColumn))> _
Public ReadOnly Property OrderColumns As OrderColumnCollection
    Get
'Usage
Dim instance As UserDefinedFunction
Dim value As OrderColumnCollection

value = instance.OrderColumns
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(OrderColumn))]
public OrderColumnCollection OrderColumns { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(OrderColumn))]
public:
property OrderColumnCollection^ OrderColumns {
    OrderColumnCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(OrderColumn))>]
member OrderColumns : OrderColumnCollection
function get OrderColumns () : OrderColumnCollection

Remarks

This property can be used only for CLR table-valued functions. This property is null if the function is not a CLR table-valued function or if the order of results is not specified.

Examples

Scripting