Initializes a new instance of the ArcSDEConnectionProperties class which defines the information required to connect to an ArcSDE geodatabase and specifically to a particular transactional version using operating system authentication.

Namespace:  ESRI.ArcGISExplorer.Data

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

Syntax

C#
public ArcSDEConnectionProperties(
	string server,
	string service,
	AuthenticationMode authMode,
	string database,
	string version
)
Visual Basic (Declaration)
Public Sub New ( _
	server As String, _
	service As String, _
	authMode As AuthenticationMode, _
	database As String, _
	version As String _
)

Parameters

server
Type: System..::.String

The name of the computer running ArcSDE.
service
Type: System..::.String

A String which represents the ArcSDE service. This will be either the port number or the service name (e.g. "5151" or "esri_sde") or alternatively when using direct connect it will be the DBMS connection information (e.g "sde:sqlserver:torridon\sqlexpress").
authMode
Type: ESRI.ArcGISExplorer.Data..::.AuthenticationMode

One of the AuthenticationMode values. Set the value to OS to fully define the connection using this constructor.
database
Type: System..::.String

The name of the database to connect to and which is required for ArcSDE instances managing multiple databases (e.g. SQL Server).
version
Type: System..::.String

The transactional version name to connect to. Only applies to versions where the VersionType is "Version". To connect to the other transactional version types set the VersionType and Version properties separately.

Remarks

The following property is set to the default value:

See Also