# ESB_PART_DEFINED_T

This structure specifies a shared partition.

    Type ESB_PART_DEFINED_T

       usType        As Integer  ' ESB_PARTITION_OP_REPLICATED, _LINKED, or _TRANSPARENT
       Direction     As Integer  ' ESB_PARTITION_DATA_SOURCE or _TARGET
       HostDatabase  As ESB_PART_CONNECT_INFO_T

    End Type

Data Type | Field | Descriptions
Integer | usType | One of the Operation Type constants listed below.
Integer | usDirection | One of the Direction constants listed below.
ESB_PART_CONNECT_INFO_T | HostDatabase | The host server.

### Operation Type Constants

    define ESB_PARTITION_OP_REPLICATED 	0x0001
    define ESB_PARTITION_OP_LINKED 		0x0002
    define ESB_PARTITION_OP_TRANSPARENT 	0x0004
    define ESB_PARTITION_OP_ALLTYPES 	(ESB_PARTITION_OP_REPLICATED |
    												 ESB_PARTITION_OP_LINKED |
    												 ESB_PARTITION_OP_TRANSPARENT)

### Direction Constants

    define ESB_PARTITION_DATA_SOURCE 	0x0001
    define ESB_PARTITION_DATA_TARGET 	0x0002
    define ESB_PARTITION_DATA_BOTH 		(ESB_PARTITION_DATA_SOURCE |
    											 ESB_PARTITION_DATA_TARGET)