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
Syntax
Visual Basic |
Public Shared Function ValidAddressFormat ( _
ipAddress As String _
) As Boolean
|
C# |
public static bool ValidAddressFormat (
string ipAddress
)
|
C++ |
public:
static bool ValidAddressFormat (
String^ ipAddress
)
|
J# |
public static boolean ValidAddressFormat (
String ipAddress
)
|
JScript |
public static function ValidAddressFormat (
ipAddress : String
) : boolean
|
Parameters
- ipAddress
-
The IP address you want to validate.
Return Value
true if the given IP address is valid; 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 2008, Windows Vista, Windows Server 2003, and
Windows XP
Target Platforms
Windows Server 2008,Windows Server 2003,Windows Vista,Windows
XP
See Also