Udostępnij za pośrednictwem


IPAddressRangeDiscoveryCriteria.ValidAddressFormat Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Determines whether a given IP address is defined in a valid format.

Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Usage

'Usage
Dim ipAddress As String
Dim returnValue As Boolean

returnValue = IPAddressRangeDiscoveryCriteria.ValidAddressFormat(ipAddress)

Syntax

'Declaration
Public Shared Function ValidAddressFormat ( _
    ipAddress As String _
) As Boolean
public static bool ValidAddressFormat (
    string ipAddress
)
public:
static bool ValidAddressFormat (
    String^ ipAddress
)
public static boolean ValidAddressFormat (
    String ipAddress
)
public static function ValidAddressFormat (
    ipAddress : String
) : boolean

Parameters

  • ipAddress
    The IP address you want to validate.

Return Value

Returns a Boolean value that is true if the given IP address is valid and false otherwise.

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 Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

IPAddressRangeDiscoveryCriteria Class
IPAddressRangeDiscoveryCriteria Members
Microsoft.EnterpriseManagement.Administration Namespace