ConnectionSettings.SecureConnectionString Property
SQL Server 2008
Gets or sets an encrypted version of the connection string.
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
[BrowsableAttribute(false)] public SecureString SecureConnectionString { get; set; }
Property Value
Type: System.Security.SecureStringA SecureString value that specifies an encrypted connection string.
If this property is explicitly set, all properties in the ServerConnection object will be populated to reflect the values in the supplied connection string.
If you attempt to set this property when the connection cannot be changed, a ConnectionCannotBeChangedException exception is thrown.
