This
functionality is used to delete the replica of a Volume on a specified siteSite. 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 NGISDeleteVolumeVolumeReplica ( LPTSTR cabinetName, short
VolumeId, short ReplicaSite )
Input Parameters description
Name |
Description |
Valid Values |
Type Of Parameter |
CabinetName |
Name of the Image c |
NOT NULL |
Input Parameter |
VolumeId |
Index of the |
Integer > 0 |
Input Parameter |
RepSite |
Index of the |
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 |
NOT NULL |
Input Parameter |
VolumeId |
Index of the |
Integer > 0 |
Input Parameter |
RepSite |
Index of the |
Integer > 0 |
Input Parameter |
Output Parameters
This
method return 1 if the call is successful, otherwise it returns an error code.