IPAddressRangeDiscoveryCriteria.ValidAddressFormat Method

Updated: April 16, 2012

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)Dim ipAddress As String Dim returnValue As Boolean returnValue = IPAddressRangeDiscoveryCriteria.ValidAddressFormat(ipAddress)Public Shared Function ValidAddressFormat ( _ ipAddress As String _ ) As Booleanpublic static bool ValidAddressFormat ( string ipAddress )public: static bool ValidAddressFormat ( String^ ipAddress )public static boolean ValidAddressFormat ( String ipAddress )public static function ValidAddressFormat ( ipAddress : String ) : booleanParametersipAddressThe IP address you want to validate.Return ValueReturns a Boolean value that is true if the given IP address is valid and false otherwise.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms