Visual Basic (Declaration) | |
---|---|
Public Shared Function Ping( _ ByVal host As String, _ ByVal port As Integer, _ ByVal timeout As Integer _ ) As String |
Visual Basic (Usage) | ![]() |
---|---|
Dim host As String Dim port As Integer Dim timeout As Integer Dim value As String value = DiscoverHost.Ping(host, port, timeout) |
Parameters
- host
- port
- timeout
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2