This property specifies the TCP/IP port the LDAP server instance will bind and listen for client requests.
IDL Definition
[propget]
HRESULT Port([out, retval] VARIANT* pData);
[propput]
HRESULT Port([in] VARIANT Data );
Type
VT_I4 (integer)
Example
VBscript
Set ILdapCfg = CreateObject("MemAdmin.LdapConfig")
ILdapCfg.LoadConfig 3
ILdapCfg.Port = 2000