DirectorySearcher.DirectorySynchronization Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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 Value

Type: System.DirectoryServices.DirectorySynchronization

The DirectorySynchronization object for the search. null 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

.NET Framework
Available since 2.0
Return to top