Share via


CM_PREFERENCE_OPERATOR (Compact 7)

3/12/2014

This enumeration provides connection attributes used to describe the preference order for connections.

Syntax

typedef enum CM_PREFERENCE_OPERATOR {
    CMPO_LOWEST,
    CMPO_HIGHEST,
    CMPO_LESS_OR_EQUAL,
    CMPO_GREATER_OR_EQUAL,
    CMPO_EQUAL,
    CMPO_NOT_EQUAL,
    CMPO_LAST
} CM_PREFERENCE_OPERATOR;

Element Definitions

Operator Cardinality Definition

CMPO_LOWEST

Unary

Connections of lower value are preferred.

CMPO_HIGHEST

Unary

Connections of higher value are preferred.

CMPO_LESS_OR_EQUAL

Binary

Connections <= to the value are preferred.

CMPO_GREATER_OR_EQUAL

Binary

Connections >= to the value are preferred.

CMPO_EQUAL

Binary

Connections = to the value are preferred.

CMPO_NOT_EQUAL

Binary

Connections <> to the value are preferred.

CMPO_LAST

none

The last value.

Remarks

The operators here specify the order in which connections should be arranged in the list of candidate connections with respect to a connection characteristic.

Requirements

Header

cmnet.h

Library

cmnet.lib

See Also

Reference

Connection Manager Connectivity Enumerations