This
functionality is used to associate a sSite with a vVolume where, that volumeVolume can be
replicated. UserUser has to specify the physical path where
the volumeVolume will be
replicated at the siteSite.
Usage in Visual
C++/Visual Basic Application
Usage in Visual C++/Visual Basic
Application
Prototype
int
WINAPI NGISAddSiteForVolReplication ( LPTSTR
cabinetName, short VolumeId,
short
ReplicaSite, LPTSTR ReplicaPath
)
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 |
ReplicaSite |
Index of the |
Integer > 0 |
Input Parameter |
ReplicaPath |
Label where replication of the |
Length of path <= 35 |
Input Parameter |
Output Parameters
This
method return 1 if the call is successful, otherwise, it returns an error code.
Prototype
public
int JPISAddSiteForVolReplication ( String cabinetName, short VolumeId,
short ReplicaSite, String
ReplicatePath
)
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 |
ReplicaSite |
Index of the |
Integer > 0 |
Input Parameter |
ReplicatePath |
Path of the |
Length of path <= 35 |
Input Parameter |
Output Parameters
This
method return 1 if the call is successful, otherwise, it returns an error code.