Get site List for a volume

This functionality is used to get the List of siteSites where the specified volumeVolume exists in Image serverServer. It returns the hHome siteSite and  theand the siteSites where it is replicated.

 

Usage in Visual C++/Visual Basic Application

Usage in Java Application

Error

 

Usage in Visual C++/Visual Basic Application

Prototype

int WINAPI NGISGetSitesForVolume ( LPTSTR cabinetName, short VolumeId,

       LPINT NoOfSites, LPGETSITESFORVOLUME * SiteInfoList

                 )

 

Input Parameters description

Name

Description

Valid Values

Type Of Parameter

cabinetName

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

NOT NULL

Input Parameter

VolumeId

Index of the volumeVolume for which the User wants to find out the siteSite lList.

Integer > 0

Input Parameter

NoOfSites

Total number of siteSites where the specified volumeVolume is found.

Integer >= 0

Output Parameter

SiteInfoList

Pointer to a variable that receives the starting value of a  list List of objects of type GETSITESFOR

VOLUME.

 

Output Parameter

 

Output Parameters

This method return 1 if the call is successful, otherwise, it returns an error code.

 

 

Usage in Java Application

 

Prototype

public int JPISGetSitesForVolume ( String cabinetName, short VolumeId,

              JPDBInteger NoOfSitesFnd, Vector SiteInfoList

             )

 

Input Parameters description

Name

Description

Valid Values

Type Of Parameter

cabinetName

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

NOT NULL

Input parameter

VolumeId

Index of the volumeVolume for which the User wants to find outthe siteSite lList.

Integer > 0

Input parameter

NoOfSitesFnd

Total number of siteSites where the specified volumeVolume is found.

Integer>=0

Output parameter

SiteInfoList

It is a vector of JPDBISSite objects where volumeVolume was found.

 

Output parameter

 

Output Parameters

This method return 1 if the call is successful, otherwise, it returns an error code.