ESRI.ArcGIS.ADF.Connection | |
Connect(Boolean) Method | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Connection.AGS Namespace > AGSServerConnection Class > Connect Method : Connect(Boolean) Method |
Visual Basic (Declaration) | |
---|---|
Public Overloads Sub Connect( _ ByVal throwExceptionOnUnauthorizedAccess As Boolean _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AGSServerConnection Dim throwExceptionOnUnauthorizedAccess As Boolean instance.Connect(throwExceptionOnUnauthorizedAccess) |
C# | |
---|---|
public void Connect( bool throwExceptionOnUnauthorizedAccess ) |
Parameters
- throwExceptionOnUnauthorizedAccess
- Controls whether an exception is thrown when a UnAuthorizedAcessException is caught when connecting.
Exception | Description |
---|---|
ESRI.ArcGIS.ADF.Connection.ServerHostNullException |
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