Change default volume path

This function is used to Change the default Volume Path for a Volume at some the specified Site.

 

Usage in Visual C++/Visual Basic Application

Usage in Java Application

Error

 

Usage in Visual C++/Visual Basic Application

Prototype

int WINAPI   NGISChangeDefVolumePath (   LPTSTR CabinetName, short VolumeId,

                                                short SiteId, PTSTR NewDefVolumePath

                                           )

 

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

Short number >0

Input Parameter

SiteId

Index of the Site where the specified Volume exists.

Short number >0

Input Parameter

NewDefVolume

Path

New Volume path for the Volume.

String whose length is less then 35 and its format should be 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 JPISChangeDefVolumePath (  String cabinetName, short VolumeId,

                      short SiteId, String NewDefVolumePath

                   )

 

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

Short number >0

Input parameter

SiteId

Index of the Site where the specified Volume exists.

Short number >0

Input parameter

NewDefVolume

Path

New Volume path for the Volume.

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

Input parameter

 

Output Parameters

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