Delete Volume Replica

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 Java Application

Error

 

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 ccabinet to which the User wants to connect.

NOT NULL

Input Parameter

VolumeId

Index of the volumeVolume whose replica is to be deleted.

Integer > 0

Input Parameter

RepSite

Index of the siteSite on which the replica of the given volumeVolume 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.

 

 

Usage in Java Application

 

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 cCabinet to which the User wants to connect.

NOT NULL

Input Parameter

VolumeId

Index of the volumeVolume whose replica is to be deleted.

Integer > 0

Input Parameter

RepSite

Index of the siteSite on which the replica of the given volumeVolume 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.