The Domain property gets or sets the domain that will be the starting point for directory searches on the LDAP servers.
HRESULT put_Domain( BSTR bstrDomain ); HRESULT get_Domain( BSTR* pbstrDomain );
Pointer to a BSTR that is set on return to a string value specifying the domain that will be the starting point for directory searches on the LDAP servers.
BSTR that specifies the domain that will be the starting point for directory searches on the LDAP servers.
These property methods return S_OK if the call is successful; otherwise, they return an error code.
Property Domain As String
String that specifies the domain that will be the starting point for directory searches on the LDAP servers.
This property is read/write. Its value can be set to a fully qualified domain name (FQDN) (such as Users.Contoso.com or Contoso.com) or to a base distinguished name (DN) (such as cn=Users,dc=Contoso,dc=com or dc=contoso,dc=com, where cn stands for common name and dc stands for domain component). It can be set to an empty string if the global catalog is used.
Client | Requires Windows Vista or Windows XP. |
---|---|
Server | Requires Windows Server 2008. |
Version | Requires Forefront Threat Management Gateway (TMG). |
IDL |
Declared in Msfpccom.idl. |
DLL |
Requires Msfpccom.dll. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.