Function sdv::com::ConnectToLocalServerRepository#

Function Documentation#

inline TObjectPtr sdv::com::ConnectToLocalServerRepository(uint32_t uiInstanceID = 0, size_t nRetries = 30)#

Create a repository connection to a local server.

Parameters:
  • uiInstanceID[in] Optionally the instance ID of the target system to connect to or 0 (default) to connect to the instance identified by app-control.

  • nRetries[in] Number of retries to connect (optional, default 30, minimum 3).

Returns:

Returns a smart pointer to the repository proxy. Disconnection takes place when IObjectDestroy::DestroyObject is called.