GitHub    Download    Forum
Overview
Tutorial
C++ API
General interfaces
Data interfaces
Schema interfaces
Configuration interfaces
Callback interfaces
Structures
Error codes
DataAccess interfaces
Connection
Connection_Create
Connection_Destroy
Connect
Disconnect
DisconnectAll
GetConnection
GetSchema
Initialize
IsConnected
QueryStorage
Reconnect
ReleaseAllStorages
ReleaseStorage
Uninitialize
WDomain
WObject
WBase
C# API
WinRT API
DTDL
DADL
Setup

Connection::Reconnect

Restores a connection to a DataFS server.

Syntax

HRESULT Reconnect(
[in] const wchar_t* p_strAddress,
[in] UINT16 p_usPort,
[in] const DataFS::stcConnectionOptions* p_pOptions,
[in] DataFS::ISystemCallback* p_pCallback
);

Parameter

p_strAddress [in]
Type: const wchar_t*
A pointer to a string containing the host name or IP address that the connection should be restored to.
p_usPort [in]
Type: UINT16
The port that the connection should be restored to.
p_pOptions [in]
Type: const DataFS::stcConnectionOptions*
Pointer to a set of options used to restore the connection.
p_pCallback [in]
Type: DataFS::ISystemCallback*
Pointer to a callback interface that receives notifications about the domain.

Return value

S_OK or an error from the Error Codes.

Remarks

Call Connection::Disconnect or Connection::DisconnectAll to close the connection.
© 2025 Mobiland AG