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 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 |
NOT NULL |
Input Parameter |
VolumeId |
Index of the |
Integer > 0 |
Input Parameter |
NoOfSites |
Total number of |
Integer >= 0 |
Output Parameter |
SiteInfoList |
Pointer to a variable that
receives the starting value of a VOLUME. |
|
Output Parameter |
Output Parameters
This
method return 1 if the call is successful, otherwise, it returns an error code.
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 |
Integer > 0 |
Input parameter |
NoOfSitesFnd |
Total number of |
Integer>=0 |
Output parameter |
SiteInfoList |
It is a vector of JPDBISSite
objects where |
|
Output parameter |
Output Parameters
This
method return 1 if the call is successful, otherwise, it returns an error code.