Get list of sites

This functionality is used to get the lList of sSites registered on Imagethe Image Server.

 

Usage in Visual C++/Visual Basic Application

Usage in Java Application

Error

 

Usage in Visual C++/Visual Basic Application

Prototype

int WINAPI NGISGetSitesList  ( LPTSTR cabinetName, LPINT noOfSites, LPSITESLIST * siteList)

 

Input Parameters description

Name

Description

Valid Values

Type Of Parameter

cabinetName

Name of the Cabinet to which the User wants to connect.

NOT NULL

Input Parameter

noOfSites

Total numbero. of sSites found.

 

Output Parameter

siteList

Pointer to a variable that receives the starting value of a Site sStructure lList.

 

Output Parameter

 

Output Parameters

Return from thisthe call is status of the call. 1 for success and error code for failure.

 

 

Usage in Java Application

 

Prototype

Public int JPISGetSitesList ( String cabinetName, JPDBInteger noOfSitesFnd, Vector siteList )

 

Input Parameters description

Name

Description

Valid Values

Type Of Parameter

cabinetName

Name of the Cabinet to which the User wants to connect.

NOT NULL

Input Parameter

noOfSitesFnd

Total numbero. of sSites found.

 

Output Parameter

siteList

SitelList is a vector of JPDBISAddress objects. (SiteId, SiteName, SiteAddress)

 

Output Parameter

 

Output Parameters

Return from this call is status of the call.1 for success and errorcode for failure.