Share via


IFPCLdapServersSet::Domain property

Applies to: desktop apps only

The Domain property gets or sets the domain that will be the starting point for directory searches on the LDAP servers.

This property is read/write.

Syntax

HRESULT put_Domain(
  BSTR bstrDomain
);

HRESULT get_Domain(
  BSTR *pbstrDomain
);
' Data type: String

Property Domain( _
  ByVal bstrDomain As BSTR, _
  ByVal pbstrDomain As BSTR _
) As String

Property value

String that specifies the domain that will be the starting point for directory searches on the LDAP servers.

Error codes

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Remarks

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.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCLdapServersSet

 

 

Build date: 7/12/2010