共用方式為


OrderColumns 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(OrderColumn))> _
Public ReadOnly Property OrderColumns As OrderColumnCollection
    Get
'用途
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

備註

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.

範例

指令碼