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




iisLocation
The Active Directory path of the Web Application.
Retrieves the Application Pool under which a web application runs.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetApplicationPoolForWebDirectory( _
   ByVal iisLocation As String _
) As String
Visual Basic (Usage)Copy Code
Dim iisLocation As String
Dim value As String
 
value = IISHelper.GetApplicationPoolForWebDirectory(iisLocation)
C# 
public static string GetApplicationPoolForWebDirectory( 
   string iisLocation
)

Parameters

iisLocation
The Active Directory path of the Web Application.

Return Value

Name of the Application Pool.

Remarks

This method will always return an empty string for lower than IIS6 versions

See Also

© 2010 All Rights Reserved.