DirectorySynchronization.Option Property

Gets or sets the options for the directory synchronization search.

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

public DirectorySynchronizationOptions Option { get; set; }
/** @property */
public DirectorySynchronizationOptions get_Option ()

/** @property */
public void set_Option (DirectorySynchronizationOptions value)

public function get Option () : DirectorySynchronizationOptions

public function set Option (value : DirectorySynchronizationOptions)

Not applicable.

Property Value

A DirectorySynchronizationOptions object.

Exception typeCondition


The value is not one of the DirectorySynchronizationOptions values.

The options that can be used with this property are found in the DirectorySynchronizationOptions enumeration.

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