GPRsop Constructor

Initializes a new instance of the GPRsop class.

Namespace: Microsoft.GroupPolicy
Assembly: Microsoft.GroupPolicy.Management (in microsoft.grouppolicy.management.dll)

Usage

    Dim mode As RsopMode
Dim wmiNamespace As String

Dim instance As New GPRsop(mode, wmiNamespace)

Syntax

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

Parameters

  • 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 (“”).

Remarks

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

Platforms

Development Platforms

Windows Server 2008 R2

Target Platforms

Windows Server 2008 R2

See Also

Reference

GPRsop Class
GPRsop Members
Microsoft.GroupPolicy Namespace