This topic has not yet been rated - Rate this topic

ConnectionSettings.SecureConnectionString Property

Gets or sets an encrypted version of the connection string.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
[BrowsableAttribute(false)]
public SecureString SecureConnectionString { get; set; }

Property Value

Type: System.Security.SecureString
A 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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.