GPSitesContainer Constructor (String)
Initializes a new instance of the GPSitesContainer class by using the specified forest.
Namespace: Microsoft.GroupPolicy
Assembly: Microsoft.GroupPolicy.Management (in microsoft.grouppolicy.management.dll)
Dim forest As String Dim instance As New GPSitesContainer(forest)
'Declaration
Public Sub New ( _
forest As String _
)
public GPSitesContainer (
string forest
)
public:
GPSitesContainer (
String^ forest
)
public GPSitesContainer (
String forest
)
public function GPSitesContainer (
forest : String
)
- forest
The Domain Name System (DNS) name of the forest. This is the name of the forest root domain.
Exception type | Condition |
---|---|
ArgumentException | forest is an empty string (“”). |
ArgumentNullException | forest is null. |
The new GPSitesContainer contains the sites in the specified forest. The root domain of the forest is used for site operations.
The PDC emulator is used to contact the forest (root domain).
Windows Server 2008 R2
Windows Server 2008 R2
GPSitesContainer Class
GPSitesContainer Members
Microsoft.GroupPolicy Namespace