SmsPageControl.OnHasError Method

Handles a notification that any of the controls on the page have an error.

Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

'Usage
Dim instance As SmsPageControl
Dim show As Boolean
Dim returnValue As Boolean

returnValue = instance.OnHasError(show)

Syntax

'Declaration
Public Overridable Function OnHasError ( _
    show As Boolean _
) As Boolean
public virtual bool OnHasError (
    bool show
)
public:
virtual bool OnHasError (
    bool show
)
public boolean OnHasError (
    boolean show
)
public function OnHasError (
    show : boolean
) : boolean

Parameters

  • show
    [in] true if the page should show an error.

Return Value

true if the any of the controls has an error; otherwise false.

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

SmsPageControl Class
SmsPageControl Members
Microsoft.ConfigurationManagement.AdminConsole Namespace