Move Volume Block

This function is used to move a volumeVolume blockBlock to some other path. All the data in a given volumeVolume blockBlock will be moved to new path.

 

Usage in Visual C++/Visual Basic Application

Usage in Java Application

Error

 

Usage in Visual C++/Visual Basic Application

Prototype

int WINAPI  NGISMoveVolumeBlock (  LPTSTR CabinetName, short VolumeId, short SiteId,

     short VolBlockId,  LPTSTR NewVolBlockPath

              )

 

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 VolumeVolume whose Default path is to be changed.

Short number >0

Input parameter

SiteId

Index of the sSite where the specified volumeVolume exists.

Short number >0

Input parameter

VolBlockId

Index of the volumeVolume blockBlock to be moved.

Short number >0

Input parameter

NewVolBlock

Path

New pPath where the PN file is added. Specified as SMS:Label.

String whose length is less then 35 and its format should beis  SMS:Name of the label.

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 JPISMoveVolBlock (  String cabinetName, short VolumeId, short VolBlockId,

                     short SiteId, String NewVolBlockPath

    )

 

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 VolumeVolume whose VolumeVolume blockBlock is to be moved.

Short number >0

Input parameter

VolBlockId

Index of the volumeVolume blockBlock which that is to be moved.

Short number >0

Input parameter

SiteId

Index of the site Site where the specified volumeVolume exists.

Short number >0

Input parameter

NewVolBlock

Path

New path Path where the PN file is added. Specified as SMS:Label.

String whose length is less then 35 and its format should beis SMS:Name of the label.

Input parameter

 

Output Parameters

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