現在選択されているデータベースが関与しているパーティション定義のリストを戻します。
構文
EsbPartitionGetList ( hCtx , SelectRegion , pusCount ) ByVal hCtx As Long SelectRegion As ESB_PARTSLCT_T pusCount As Integer
パラメータ | 説明 |
---|---|
hCtx |
APIコンテキスト・ハンドル。 |
SelectRegion |
パーティションの選択条件。 |
pusCount |
戻されるパーティションのアイテム。 |
戻り値
正常終了の場合は0が戻され、失敗した場合はエラー・コードが戻されます。
例
Public Sub ESB_PartitionGetList() Dim SelectPartition As ESB_PARTSLCT_T Dim Partition As ESB_PART_INFO_T Dim Items As Integer Dim i As Integer SelectPartition.OperationTypes = ESB_PARTITION_OP_ALL SelectPartition.DirectionTypes = ESB_PARTITION_DATA_BOTH SelectPartition.MetaDirectionTypes = ESB_PARTITION_META_BOTH sts = EsbPartitionGetList(hCtx, SelectPartition, Items) If sts = 0 And Items > 0 Then For i = 1 To Items sts = EsbGetNextItem(hCtx, ESB_PART_INFO_TYPE, Partition) '***************************************** '* Get information in ESB_PART_INFO_T here '***************************************** Next i End If End Sub
関連トピック