ESRI.ArcGIS.ADF.IMS
Password Property
See Also 
ESRI.ArcGIS.ADF.IMS.Data Namespace > SdeWorkspace Class : Password Property




Gets or sets the password to access the ArcSDE server.

Syntax

Visual Basic (Declaration) 
Public Property Password As String
Visual Basic (Usage)Copy Code
Dim instance As SdeWorkspace
Dim value As String
 
instance.Password = value
 
value = instance.Password
C# 
public string Password {get; set;}

Remarks

The following table summarizes the correct syntax for Password and whether the password can be Encrypted. Passwords for ArcSDE datasets, by default, are not encrypted. In order to encrypt a password, you need to connect to the ArcSDE instance while in ArcIMS Author or ArcExplorer 9 (copy the encrypted password from an ArcXML file saved from one of these applications). Since you cannot connect to an ArcSDE direct connect layer using ArcIMS Author or ArcExplorer 9, the password cannot be encrypted for ArcSDE direct connect.

Database Password Can Encrypt

Password
Oracle with ArcSDE MyPassword Yes
Oracle with direct connect MyPassword

@netservicename
No
SQL Server, DB2, or Infomix with ArcSDE MyPassword Yes
SQL Server, DB2, or Informix with direct connect MyPassword No

See Also

© 2010 All Rights Reserved.