Gets a value indicating whether direct connect can be used to connect to an ArcSDE Service.

Namespace:  ESRI.ArcGISExplorer.Data

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public static bool CanUseDirectConnect { get; }
Visual Basic (Declaration)
Public Shared ReadOnly Property CanUseDirectConnect As Boolean

Field Value

trueTruetruetrue (True in Visual Basic) if a direct connection is possible; otherwise, falseFalsefalsefalse (False in Visual Basic).

Remarks

To be able to make a direct connection to an ArcSDE geodatabase from a client machine, the Data Access Expansion Pack must be installed and all necessary database-specific client configurations applied. For example, to make a direct connection to an Oracle ArcSDE geodatabase, the Oracle Client (or Net Client) must be installed and configured. Consequently this property does not guarantee that a direct connection can be made as it only checks that the Data Access Expansion Pack is installed.

See Also