Recover site

This method recovers the Site information in the database if it is accidentally deleted.

 

Usage in Visual C++/Visual Basic Application

Usage in Java Application

Error

 

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 iIndex with which the sSite can be referenced with.referenced.

Greater than 0

Input Parameter

SiteAddress

Name or IP Address of the sServer on which the SMS Server is running.

NOT NULL and length less than 20.

Input Parameter

PortId

Port  ofPort of the server Server on which SMS is running.

short no.number  greater than 0.

Input Parameter

SiteName

Logical name Name for the siteSite.

 

Output Parameter

 

Output Parameters

Return from thisthe call is status of the call. 1 for success and error code for failure.

 

 

Usage in Java Application

 

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 iIndex with which the sSite can be referenced.  with.

Greater than 0

Input Parameter

siteAddress

Name or IP of the sServer on which SMS is running.

NOT NULL and length less than 20.

Input Parameter

portId

Port  of the sServer on which SMS is running.

short no.number greater than 0.

Input Parameter

siteName

Logical nName for the sSite.

 

Output Parameter

 

Output Parameters

Return from thisthe call is status of the call.1 for success and errorcode for failure.