iGet Index of volume by specifying name

This functionality is used to get Index of Volume for the specified Volume Name.

 

Usage in Visual C++/Visual Basic Application

Usage in Java Application

Error

 

Usage in Visual C++/Visual Basic Application

Prototype

int WINAPI NGISGetVolumeIdFromName (   LPTSTR cabinetName, LPTSTR VolumeName,

         PSHORT VolumeId

           )

 

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

VolumeName

Name of the Volume for which the User requires Index.

String of length less than 34.

Input parameter

VolumeId

Index of the Site where the specified Volume exists.

Short number >0

Output 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 JPISGetVolumeIdFromName ( String cabinetName, String VolumeName, JPDBShort VolumeId

                    )

 

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

VolumeName

Name of the Volume for which the User requires Index.

String of length less then 34

Input parameter

VolumeId

Index of the Site where the specified Volume exists

Short number >0

Output parameter

 

Output Parameters

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