Edit

Share via


DomainController.Forest Property

Definition

Gets the forest that this domain controller is a member of.

public:
 property System::DirectoryServices::ActiveDirectory::Forest ^ Forest { System::DirectoryServices::ActiveDirectory::Forest ^ get(); };
public System.DirectoryServices.ActiveDirectory.Forest Forest { get; }
member this.Forest : System.DirectoryServices.ActiveDirectory.Forest
Public ReadOnly Property Forest As Forest

Property Value

A Forest object that represents the forest that this domain controller is a member of.

Exceptions

The current object has been disposed.

Applies to

See also