Platform SDK: TAPI |
Establishes a connection to the directory server.
HRESULT Connect( VARIANT_BOOL fSecure );
Value | Meaning |
---|---|
S_OK | Method succeeded. |
RND_ALREADY_CONNECTED | A successful connection has already been made. |
RND_NULL_SERVER_NAME | The server name is NULL, probably because ITConferenceBlob::Init has not been run or did not succeed. |
The Connect method must be successfully called before any other function except get_DirectoryType. If fSecure is TRUE, LDAP directories use SSL ports to make connection.
Windows NT/2000: Requires Windows 2000.
Version: Requires TAPI 3.0 or later.
Header: Declared in Rend.h.
Library: Use Rendid.lib.