SqlMetaData.SortOrder Property


Returns the sort order for a column.

Namespace:   Microsoft.SqlServer.Server
Assembly:  System.Data (in System.Data.dll)

public SortOrder SortOrder { get; }

Property Value

Type: System.Data.SqlClient.SortOrder

A SortOrder object.

This property can only be set in one of the SqlMetaData constructors.

For more information, see Table-Valued Parameters.

.NET Framework
Available since 2.0
Return to top