GPRsop Constructor

Initializes a new instance of the GPRsop class.

Namespace: Microsoft.GroupPolicy
Assembly: Microsoft.GroupPolicy.Management (in


    Dim mode As RsopMode
Dim wmiNamespace As String

Dim instance As New GPRsop(mode, wmiNamespace)


Public Sub New ( _
    mode As RsopMode, _
    wmiNamespace As String _
public GPRsop (
    RsopMode mode,
    string wmiNamespace
GPRsop (
    RsopMode mode, 
    String^ wmiNamespace
public GPRsop (
    RsopMode mode, 
    String wmiNamespace
public function GPRsop (
    mode : RsopMode, 
    wmiNamespace : String


  • mode
    One of the RsopMode enumeration values that specifies the mode for the Resultant Set of Policy (RSoP) report. Planning is not supported for this method.
  • wmiNamespace
    The Windows Management Instrumentation (WMI) namespace. This parameter can be an empty string (“”).


The RsopMode property and the Namespace property are initialized to the specified parameter values.


Development Platforms

Windows Server 2008 R2

Target Platforms

Windows Server 2008 R2

See Also


GPRsop Class
GPRsop Members
Microsoft.GroupPolicy Namespace