DirectorySynchronization.GetDirectorySynchronizationCookie Method ()


Gets the directory synchronization search cookie.

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

public byte[] GetDirectorySynchronizationCookie()

Return Value

Type: System.Byte[]

The directory synchronization search cookie object.

The returned search results must be enumerated before the cookie can be retrieved. For more information, see the code example Taking a Snapshot for a Later DirSync Search.

.NET Framework
Available since 2.0
Return to top