Freigeben über


SmsPageControl.HasError Method

Determines whether a control on the page has an error.

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

Usage

'Usage
Dim errorControl As Control
Dim returnValue As Boolean

returnValue = Me.HasError(errorControl)

Syntax

'Declaration
Protected Overridable Function HasError ( _
    <OutAttribute> ByRef errorControl As Control _
) As Boolean
protected virtual bool HasError (
    out Control errorControl
)
protected:
virtual bool HasError (
    [OutAttribute] Control^% errorControl
)
protected boolean HasError (
    /** @attribute OutAttribute() */ /** @ref */ Control errorControl
)

Parameters

  • errorControl
    [out] Reference to a System.Windows.Forms.Control object.

Return Value

true if a control 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