GitHub
Download
Forum
Overview
Tutorial
C++ API
C# API
WinRT API
General interfaces
Connection
Create
Destroy
Connect
Disconnect
QueryConfiguration
QueryControl
QueryDomain
QuerySchemaEdit
stcConnectionOptions
ISystemCallback
ObjectId
Thread
Data interfaces
Schema interfaces
Configuration interfaces
Callback interfaces
Structures
Error codes
DataAccess interfaces
DTDL
DADL
Setup
Connection.Connect
Establishes a connection to a DataFS server.
Syntax
Int32
Connect(
String
p_strAddress,
UInt16
p_usPort
);
Int32
Connect(
String
p_strAddress,
UInt16
p_usPort,
stcConnectionOptions
p_pOptions
);
Parameter
p_strAddress
Type:
String
A string containing the host name or IP address that the connection should be established to.
p_usPort
Type:
UInt16
The port that the connection should be established to.
p_pOptions
Type:
stcConnectionOptions
A set of options used to establish the connection.
Do not pass this parameter for an unencrypted connection or pass a
stcConnectionOptions
to establish an encrypted connection.
Return value
S_OK or an error from the
Error Codes
.
Remarks
Call
Connection.Disconnect
to close the connection.
© 2025 Mobiland AG