This method recovers the Site information in the database if it is accidentally deleted.
Usage in Visual C++/Visual Basic Application
Usage in Visual C++/Visual Basic Application
Prototype
int WINAPI NGISRecoverSite ( LPTSTR CabinetName, short SiteId, LPTSTR SiteAddress, short PortId,
LPTSTR SiteName
)
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 |
SiteId |
Site
|
Greater than 0 |
Input Parameter |
SiteAddress |
Name
or IP Address of the |
NOT NULL and length less than 20. |
Input Parameter |
PortId |
|
short
|
Input Parameter |
SiteName |
Logical
|
|
Output Parameter |
Output Parameters
Return from thisthe call is status of the call. 1
for success and error code for failure.
Prototype
public int JPISRecoverSite ( String cabinetName, short siteId, String siteAddress, short portId,
JPDBString siteName
)
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 |
siteId |
Site
|
Greater than 0 |
Input Parameter |
siteAddress |
Name
or IP of the |
NOT NULL and length less than 20. |
Input Parameter |
portId |
Port
|
short
|
Input Parameter |
siteName |
Logical
|
|
Output Parameter |
Output Parameters
Return from thisthe call is status of the call.1
for success and errorcode for failure.