Düzenle

Aracılığıyla paylaş


SortDirection Property (RDS)

Indicates whether a sort order is ascending or descending.

Important

Beginning with Windows 8 and Windows Server 2012, RDS server components are no longer included in the Windows operating system (see Windows 8 and Windows Server 2012 Compatibility Cookbook for more detail). RDS client components will be removed in a future version of Windows. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Applications that use RDS should migrate to WCF Data Service.

Syntax

  
DataControl.SortDirection = value  

Parameters

DataControl
An object variable that represents an RDS.DataControl object.

Value
A Boolean value that, when set to True, indicates the sort direction is ascending. False indicates descending order.

Remarks

The SortColumn, SortDirection, FilterValue, FilterCriterion, and FilterColumn properties provide sorting and filtering functionality on the client-side cache. The sorting functionality orders records by using values from one column. The filtering functionality displays a subset of records based on find criteria, while the full Recordset is maintained in the cache. The Reset method will execute the criteria and replace the current Recordset with an updatable Recordset.

Applies To

DataControl Object (RDS)

See Also

FilterColumn, FilterCriterion, FilterValue, SortColumn, and SortDirection Properties and Reset Method Example (VBScript)
Sort Property
SortColumn Property (RDS)