Create Volume Block

This functionality is used to create a new Volume Block Volume Block for the specified volume atVolume at given siteSite.

 

Usage in Visual C++/Visual Basic Application

Usage in Java Application

Error

 

Usage in Visual C++/Visual Basic Application

Prototype

int WINAPI NGISCreateVolBlock ( LPTSTR cabinetName, short VolumeId, short SiteId )

 

Input Parameters description

Name

Description

Valid Values

Type Of Parameter

cabinetName

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

NOT Null

Input Parameter

VolumeId

Index of the volume inVolume in which Volume block Volume Block has to be created.

Integer>0

Input parameter

SiteId

Unique iIndex of the siteSite where the above specified volume existsVolume exists.

 

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 JPISCreateVolBlock ( String cabinetName, short VolumeId, short SiteId )

 

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 inVolume in which Volume block Volume Block has to be created.

Integer>0

Input parameter

SiteId

Unique iIndex of the siteSite where above the specified volumeVolume exists.

 

Input parameter

 

Output Parameters

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