## ESS_PART_DEFINED_T

This structure specifies a shared partition.

    typedef struct ESS_PART_DEFINED_T
    {
       ESS_USHORT_T			usType;
       ESS_USHORT_T			usDirection;
       ESS_PART_CONNECT_INFO_T	HostDatabase;
    } ESS_PART_DEFINED_T, *ESS_PPART_DEFINED_T, **ESS_PPPART_DEFINED_T;

Data Type | Field | Descriptions
ESS_USHORT_T | usType | One of the Operation Type constants listed below.
ESS_USHORT_T | usDirection | One of the Directions constants listed below.
ESS_PART_CONNECT_INFO_T | HostDatabase | The host server.

### Operation Type Constants

    define ESS_PARTITION_OP_REPLICATED   0x0001
    define ESS_PARTITION_OP_LINKED       0x0002
    define ESS_PARTITION_OP_TRANSPARENT  0x0004
    define ESS_PARTITION_OP_ALLTYPES (ESS_PARTITION_OP_REPLICATED |
                                      ESS_PARTITION_OP_LINKED |
                                      ESS_PARTITION_OP_TRANSPARENT)

### Direction Constants

    define ESS_PARTITION_DATA_SOURCE  0x0001
    define ESS_PARTITION_DATA_TARGET  0x0002
    define ESS_PARTITION_DATA_BOTH (ESS_PARTITION_DATA_SOURCE |
                                    ESS_PARTITION_DATA_TARGET)