Platform SDK: TAPI |
Sets the port number used to connect to the server of a specified ILS directory.
HRESULT put_Port( long Port );
Value | Meaning |
---|---|
S_OK | Method succeeded. |
E_INVALIDARG | The Port parameter is not valid. |
RND_ALREADY_CONNECTED | A successful connection has been made. Port cannot be reset. |
Applications use this method only if they need to connect to custom-configured ILS servers listening on strange ports that are not listed in the Active Directory. By default, the Rendezvous control automatically tries to use ports 1002 and 389, the usual ILS ports, for connecting to application-specified ILS servers. Also, the Rendezvous control automatically uses whatever port is published in the Active Directory for ILS servers retrieved from there.
Windows NT/2000: Requires Windows 2000.
Version: Requires TAPI 3.0 or later.
Header: Declared in Rend.h.
Library: Use Rendid.lib.