DirectorySearcher.DirectorySynchronization Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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)

[DSDescriptionAttribute("DSDirectorySynchronization")]
[BrowsableAttribute(false)]
[ComVisibleAttribute(false)]
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 http://msdn.microsoft.com/library.

.NET Framework
Available since 2.0
Return to top
Show: