Rename Volume

This functionality is used to rename a Volume.

 

Usage in Visual C++/Visual Basic Application

Usage in Java Application

Error

 

Usage in Visual C++/Visual Basic Application

Prototype

int WINAPI NGISRenameVolume ( LPTSTR cabinetName, short VolumeId, LPTSTR NewVolumeName )

 

Input Parameters description

Name

Description

Valid Values

Type Of Parameter

CabinetName

Name of the Image cabinet Cabinet to which the User wants to connect.

NOT NULL

Input Parameter

VolumeId

Index of the volumeVolume to be renamed.

Integer > 0

Input Parameter

NewVolume

Name

New name to be given to the volumeVolume whose indexIndex is given by the parameter VolumeVolumeId.

Length of new volumeVolume name Name <= 34

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 JPISRenameVolume (     String cabinetName, short VolumeId, String NewVolumeName )

 

Input Parameters description

Name

Description

Valid Values

Type Of Parameter

cabinetName

Name of the Image cabinet Cabinet to which the User wants to connect.

NOT NULL

Input Parameter

VolumeId

Index of the volumeVolume to be renamed.

Integer > 0

Input Parameter

NewVolume

Name

New name to be given to the volumeVolume whose indexIndex is given by the parameter VolumeId.

Length of new volumeVolume name <= 34

Input Parameter

 

Output Parameters

This method return 1 if the call is successful, otherwise, it returns an error code.