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




server
Hostname of the IIS server
webSiteID
Web virtual servers are identified in the metabase by their index numbers. The first Web server is number 1, the second is number 2, and so on.
Retrieves the list of virtual directories from an IIS Website

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function GetIISVirtualDirectories( _
   ByVal server As String, _
   ByVal webSiteID As String _
) As List(Of IIsVirtualDirectoryInfo)
Visual Basic (Usage)Copy Code
Dim server As String
Dim webSiteID As String
Dim value As List(Of IIsVirtualDirectoryInfo)
 
value = IISHelper.GetIISVirtualDirectories(server, webSiteID)
C# 
public static List<IIsVirtualDirectoryInfo> GetIISVirtualDirectories( 
   string server,
   string webSiteID
)

Parameters

server
Hostname of the IIS server
webSiteID
Web virtual servers are identified in the metabase by their index numbers. The first Web server is number 1, the second is number 2, and so on.

Return Value

list of virtual directories from an IIS Website in the form of IIsVirtualDirectoryInfo objects

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.