TS_SB_SORT_BY enumeration (sbtsv.h)

Specifies sort order. It is used as a parameter in the EnumerateTargets method.

Syntax

typedef enum _TS_SB_SORT_BY {
  TS_SB_SORT_BY_NONE = 0,
  TS_SB_SORT_BY_NAME = 0x1,
  TS_SB_SORT_BY_PROP = 0x2
} TS_SB_SORT_BY;

Constants

 
TS_SB_SORT_BY_NONE
Value: 0
Do not sort.
TS_SB_SORT_BY_NAME
Value: 0x1
Sort by target name.
TS_SB_SORT_BY_PROP
Value: 0x2
Sort by a specified property.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2012
Header sbtsv.h

See also

EnumerateTargets