Gets the Identifier used for the website. Useful for servers with multiple websites. This routine does not return the Site number.
Syntax
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) |
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)
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