Partilhar via


SmsPropertyPage.OnOK Method

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

'Usage
Dim returnValue As Boolean

returnValue = Me.OnOK

Syntax

'Declaration
Protected Overrides Function OnOK As Boolean
protected override bool OnOK ()
protected:
virtual bool OnOK () override
protected boolean OnOK ()
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

Reference

SmsPropertyPage Class
SmsPropertyPage Members
Microsoft.ConfigurationManagement.AdminConsole Namespace