ESRI.ArcGIS.ADF.IMS
Password Property
See Also  Send Feedback
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

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.