C API Reference -- Ns_DbPoolList

### Ns_DbPoolList

#### Overview

Get a list of available pools for a server

#### Syntax

        char *Ns_DbPoolList(
        char *hServer
        );

#### Description

The Ns_DbPoolList function returns a list of pools available on the specified server. Upon completion, the returned pointer points to a list of pools in the following format:

        "pool1\0pool2\0pool3\0\0"

#### Examples

        char *pools;
        pools = Ns_DbPoolList("serverName");
        while (*pools != '\0') {
          printf("%s\n", pools);
          pools += strlen(pools) + 1;
        }

Top of Page
Copyright © 1998-99 America Online, Inc.