DirectorySearcher.DirectorySynchronization Property

Gets or sets an object that represents the directory synchronization control to use with the search.

Namespace: System.DirectoryServices
Assembly: System.DirectoryServices (in system.directoryservices.dll)

public DirectorySynchronization DirectorySynchronization { get; set; }
/** @property */
public DirectorySynchronization get_DirectorySynchronization ()

/** @property */
public void set_DirectorySynchronization (DirectorySynchronization value)

public function get DirectorySynchronization () : DirectorySynchronization

public function set DirectorySynchronization (value : DirectorySynchronization)

Not applicable.

Property Value

The DirectorySynchronization object for the search. a null reference (Nothing in Visual Basic) if the directory synchronization control should not be used.

The directory synchronization control, commonly referred to as the DirSync control, is an LDAP control that is used to search for objects that have changed since a previous state.

For more information, see the topic "Polling for Changes Using the DirSync Control" in the MSDN Library at

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions