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::Disconnect

Closes a connection established using Connection::Connect.

Syntax

HRESULT Disconnect(
[in] const wchar_t* p_strAddress,
[in] UINT16 p_usPort
);

Parameter

p_strAddress [in]
Type: const wchar_t*
A pointer to a string containing the host name or IP address that the connection has been established to.
p_usPort [in]
Type: UINT16
The port that the connection has been established to.

Return value

S_OK or an error from the Error Codes.
© 2025 Mobiland AG