This documentation is archived and is not being maintained.

DirectorySynchronizationOptions Enumeration

The DirectorySynchronizationOptions enumeration specifies the behavior of the search in a DirSyncRequestControl object.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

public enum DirectorySynchronizationOptions

Member nameDescription
NoneNo options used. The value equals 0 or 0x0.
ObjectSecurityIf this option is used, the caller requires no rights, but can only view objects and attributes that are accessible to the caller. If this option is not used, the caller must have the replicate changes right. The value equals 1 or 0x1.
ParentsFirstReturn parents before children, when parents would otherwise appear later in the replication stream. The value equals 2048 or 0x800.
PublicDataOnlyDo not return private data in search results. The value equals 8192 or 0x2000.
IncrementalValuesIf this option is used, only changed values are returned. If this option is not used, all values, up to a server-specified limit, in a multi-valued attribute, are returned when a value changes. The value equals 2147483648 or 0x80000000.

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

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0