SE_connection_reconnect

Frees existing connection and re-establishes a new one using existing connection properties

Usage syntax

LONG SE_connection_reconnect (SE_CONNECTION connection, SE_ERROR *error);

Parameters
connection The connection handle
error The returned error structure
Description

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.

Returns
SE_SUCCESS
SE_DB_IO_ERROR

SE_INVALID_CONNECTION

SE_INVALID_POINTER

SE_NET_FAILURE

SE_SDE_NOT_STARTED