SE_connection_reconnect |
Frees existing connection and re-establishes a new one using existing connection properties
LONG SE_connection_reconnect (SE_CONNECTION connection, SE_ERROR *error);
connection | The connection handle |
error | The returned error structure |
The function SE_connection_reconnect releases a connection to an ArcSDE geodatabase, then re-establishes the connection using preserved connection arguments in the original connection handle.
This will allow any object with reference to old connection handles to continue to work. It also gives the client application the ability to reconnect in case of certain fatal errors, such as -10, without requiring new connection information from the user.