This functionality is used to delete the replica of a Volume on a specified Site. Before the actual deletion of Volume, all its replicas must be deleted.
Usage in Visual C++/Visual Basic Application
Usage in Visual C++/Visual Basic Application
Prototype
int
WINAPI NGISDeleteVolumeReplica
( LPTSTR cabinetName, short VolumeId, short ReplicaSite )
Input Parameters description
Name |
Description |
Valid Values |
Type Of Parameter |
CabinetName |
Name
of the Image |
NOT NULL |
Input Parameter |
VolumeId |
Index of the Volume whose replica is to be deleted. |
Integer > 0 |
Input Parameter |
RepSite |
Index of the Site on which the replica of the given Volume is to be deleted. |
Integer > 0 |
Input Parameter |
Output Parameters
This method return 1 if the call is successful, otherwise, it returns an error code.
Prototype
public int JPISDeleteVolumeReplica ( String cabinetName, short VolumeId, short RepSite )
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 Volume whose replica is to be deleted. |
Integer > 0 |
Input Parameter |
RepSite |
Index of the Site on which the replica of the given Volume is to be deleted. |
Integer > 0 |
Input Parameter |
Output Parameters
This method return 1 if the call is successful, otherwise it returns an error code.