Forest.RootDomain Property  
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.
Gets the first domain that was created in a forest.
public:
 property System::DirectoryServices::ActiveDirectory::Domain ^ RootDomain { System::DirectoryServices::ActiveDirectory::Domain ^ get(); };public System.DirectoryServices.ActiveDirectory.Domain RootDomain { get; }member this.RootDomain : System.DirectoryServices.ActiveDirectory.DomainPublic ReadOnly Property RootDomain As DomainProperty Value
A Domain object that represents the first domain that was created in this Forest.
Exceptions
The object has been disposed.