ESRI.ArcGIS.ADF.Core
CheckServerForAccess Method
See Also  Send Feedback
ESRI.ArcGIS.ADF Namespace > IISHelper Class : CheckServerForAccess Method




iisPath
The Active Directory path of the virtual directory. Use GetIISLocation method to get the path.
server
The name of the server.
url
The url.
physicalPath
The output physical path.
filePath
The UNC path for the physical path.
status
The output status message.
Check IIS Server for access permissions

Syntax

Visual Basic (Declaration) 
Public Shared Function CheckServerForAccess( _
   ByVal iisPath As String, _
   ByVal server As String, _
   ByVal url As String, _
   ByRef physicalPath As String, _
   ByRef filePath As String, _
   ByRef status As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim iisPath As String
Dim server As String
Dim url As String
Dim physicalPath As String
Dim filePath As String
Dim status As String
Dim value As Boolean
 
value = IISHelper.CheckServerForAccess(iisPath, server, url, physicalPath, filePath, status)
C# 
public static bool CheckServerForAccess( 
   string iisPath,
   string server,
   string url,
   out string physicalPath,
   out string filePath,
   out string status
)

Parameters

iisPath
The Active Directory path of the virtual directory. Use GetIISLocation method to get the path.
server
The name of the server.
url
The url.
physicalPath
The output physical path.
filePath
The UNC path for the physical path.
status
The output status message.

Return Value

true if check server for access succeeds; false if not.

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.