Export (0) Print
Expand All

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: 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.

Community Additions

ADD
Show:
© 2014 Microsoft