ArcGIS Explorer Component Help |
ArcSDEConnectionProperties Constructor (String, String, String, String, String, String) |
ArcSDEConnectionProperties Class See Also |
Initializes a new instance of the ArcSDEConnectionProperties class which defines the information required
to connect to an ArcSDE geodatabase using DBMS authentication.
Namespace:
ESRI.ArcGISExplorer.DataAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public ArcSDEConnectionProperties( string server, string service, string user, string password, string database, string version ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ server As String, _ service As String, _ user As String, _ password As String, _ 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").
- user
- Type: System..::.String
The name of the user used to make the connection to the ArcSDE service.
- password
- Type: System..::.String
The password for the specified user.
- 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 properties use their default values:
- AuthenticationMode property is set to DBMS.
- VersionType property is set to Version.