GroupPolicyExtension.OnSaving Method (SavingEventArgs)

 

Called by the Save method before the save is performed, to allow for pre-processing by the derived class.

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

Syntax

protected virtual void OnSaving(
    SavingEventArgs e
)
protected:
virtual void OnSaving(
    SavingEventArgs^ e
)
abstract OnSaving : 
        e:SavingEventArgs -> unit
override OnSaving : 
        e:SavingEventArgs -> unit
Protected Overridable Sub OnSaving (
    e As SavingEventArgs
)

Parameters

Remarks

Implementing the OnSaving method enables the derived class to perform pre-processing and, if necessary, cancel the save operation.

See Also

GroupPolicyExtension Class
Microsoft.GroupPolicy Namespace

Return to top