ESRI.ArcGIS.ADF
CheckServerForAccess Method
See Also  Send comments on this topic.
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.

See Also

© 2010 All Rights Reserved.