AdsMgConnect

Establishes a management connection to an Advantage server.

Syntax

UNSIGNED32 AdsMgConnect(UNSIGNED8* pucServer, UNSIGNED8* pucUser,
                        UNSIGNED8* pucPwd, ADSHANDLE* phMg);

Parameters

Parameter

Type

Description

pucServer

UNSIGNED8*

Server name or address.

pucUser

UNSIGNED8*

User name.

pucPwd

UNSIGNED8*

User password.

phMg

ADSHANDLE*

Pointer to the output management connection handle.

Return Value

AE_SUCCESS (0) on success. Error code on failure.

Description

AdsMgConnect establishes a dedicated management connection to an Advantage server. This connection is used for server monitoring and administration functions.

Example

ADSHANDLE hMgmt;
AdsMgConnect("myserver", "admin", "password", &hMgmt);

See Also


AdsMgDisconnect →



This site uses Just the Docs, a documentation theme for Jekyll.