SearchBase Property

The SearchBase property of the DomainController class gets or sets the name of the Active Directory directory services node from which to import user profiles.

Property Value

String The name of the Active Directory node from which to import user profiles.

Exceptions

Exception Type Condition
InvalidValueException Search base is longer than 1024 chars in length

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security