ForestMode Enum

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Indicates the mode in which a Forest is operating.

C#
public enum ForestMode
Inheritance
ForestMode

Fields

Name Value Description
Unknown -1

The Forest is operating in an unknown mode.

Windows2000Forest 0

The Forest is operating in Windows 2000 mode.

Windows2003InterimForest 1

The Forest is operating in Windows Server 2003 domain-function mode.

Windows2003Forest 2

The Forest is operating in Windows Server 2003 mode.

Windows2008Forest 3

The Forest is operating in Windows Server 2008 mode.

Windows2008R2Forest 4

The Forest is operating in Windows Server 2008 R2 mode.

Windows8Forest 5

The Forest is operating in Windows 8 mode.

Windows2012R2Forest 6

[Supported in the .NET Framework 4.5.1 and later versions] The Forest is operating in Windows Server 2012 R2 mode.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also