ArcGIS Explorer Component Help |
ArcSDEConnectionProperties Constructor (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 ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ server As String, _ service As String, _ user As String, _ password 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.
Remarks
The following properties all use their default values:
- AuthenticationMode property is set to DBMS.
- VersionType property is set to Version.
- Version property is set to "SDE.Default".