Handles a notification to every page in the property sheet that the user has clicked OK or Close and wants all changes to take effect. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

Visual Basic
Dim returnValue As Boolean

returnValue = Me.OnOK

Syntax

Visual Basic
Protected Overrides Function OnOK As Boolean
C#
protected override bool OnOK ()
C++
protected:
virtual bool OnOK () override
J#
protected boolean OnOK ()
JScript
protected override function OnOK () : boolean

Return Value

true if all changes are applied; otherwise false.

Remarks

Your application must override this method in a derived class.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also