SavingEventArgs Constructor (Boolean)

 

Initializes a new instance of the SavingEventArgs class for the specified Group Policy object (GPO) section with the Cancel property initialized to false.

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

Syntax

public SavingEventArgs(
    bool isComputerConfiguration
)
public:
SavingEventArgs(
    bool isComputerConfiguration
)
new : 
        isComputerConfiguration:bool -> SavingEventArgs
Public Sub New (
    isComputerConfiguration As Boolean
)

Parameters

  • isComputerConfiguration
    Type: System.Boolean

    true indicates that the computer section of the GPO is being saved; false indicates that the user section is being saved.

Remarks

The IsComputerConfiguration property is initialized according to the value of isComputerConfiguration. The Cancel property is initialized to false.

See Also

SavingEventArgsā€‚Overload
SavingEventArgs Class
Microsoft.GroupPolicy Namespace

Return to top