DirectoryName property

Sets or returns the name of the external directory associated with this directory connection. This property is only meaningful when the directory connection Type is erDirTypeNTDomain or erDirTypeLDAP.

Syntax


C++

HRESULT get_DirectoryName(BSTR* pDirectoryName)

HRESULT put_DirectoryName(BSTR DirectoryName)

Scripting languages

String = Object.DirectoryName

Object.DirectoryName = String

Remarks


Set DirectoryName to the NT Domain Name if the directory Type is erDirTypeNTDomain.

Set DirectoryName to the LDAP directory name if the directory Type is erDirTypeLDAP.

This property throws EROOM_E_INVALIDOPERATION if the directory Type is not erDirTypeNTDomain or erDirTypeLDAP.

Home

Applies to

IERUDirectoryConnection