ESRI.ArcGIS.ADF.Core
IsIISAvailable(String,String) Method
See Also  Send Feedback
ESRI.ArcGIS.ADF Namespace > IISHelper Class > IsIISAvailable Method : IsIISAvailable(String,String) Method




server
Name of the server machine, for example, MyServer.
port
Port in the format ":PortNumber:", for example, ":80:".
Check if the IIS server is available and running on a specified port

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function IsIISAvailable( _
   ByVal server As String, _
   ByVal port As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim server As String
Dim port As String
Dim value As Boolean
 
value = IISHelper.IsIISAvailable(server, port)
C# 
public static bool IsIISAvailable( 
   string server,
   string port
)

Parameters

server
Name of the server machine, for example, MyServer.
port
Port in the format ":PortNumber:", for example, ":80:".

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.