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




server
Name of the server machine, for example, MyServer
port
Port in the format ":PortNumber:", for example, ":80:"
status
The output status message
Gets the Identifier used for the website. Useful for servers with multiple websites. This routine does not return the Site number.

Syntax

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

Parameters

server
Name of the server machine, for example, MyServer
port
Port in the format ":PortNumber:", for example, ":80:"
status
The output status message

Return Value

A string identifier based on ServerComment property in Metabase.xml (Eg:- Default Web Site)

See Also

© 2010 All Rights Reserved.