ESRI.ArcGIS.ADF.Core
IsWebSiteUp Method
See Also  Send comments on this topic.
ESRI.ArcGIS.ADF Namespace > IISHelper Class : IsWebSiteUp Method




iisLocation
The Active Directory path of the IIS website. Use GetIISLocation method to get the path.
status
The output status message.
Verify if a website is up.

Syntax

Visual Basic (Declaration) 
Public Shared Function IsWebSiteUp( _
   ByVal iisLocation As String, _
   ByRef status As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim iisLocation As String
Dim status As String
Dim value As Boolean
 
value = IISHelper.IsWebSiteUp(iisLocation, status)
C# 
public static bool IsWebSiteUp( 
   string iisLocation,
   out string status
)

Parameters

iisLocation
The Active Directory path of the IIS website. Use GetIISLocation method to get the path.
status
The output status message.

Return Value

true if the web site is up, false if not.

See Also

© 2010 All Rights Reserved.