RegisteredServer.SecureConnectionString Property

Gets or sets the secure string that is used to connect to the instance of SQL Server.

Namespace:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntax

'Declaration
<SfcIgnoreAttribute> _
Public Property SecureConnectionString As SqlSecureString
    Get
    Set
'Usage
Dim instance As RegisteredServer
Dim value As SqlSecureString

value = instance.SecureConnectionString

instance.SecureConnectionString = value
[SfcIgnoreAttribute]
public SqlSecureString SecureConnectionString { get; set; }
[SfcIgnoreAttribute]
public:
property SqlSecureString^ SecureConnectionString {
    SqlSecureString^ get ();
    void set (SqlSecureString^ value);
}
[<SfcIgnoreAttribute>]
member SecureConnectionString : SqlSecureString with get, set
function get SecureConnectionString () : SqlSecureString
function set SecureConnectionString (value : SqlSecureString)

Property Value

Type: SqlSecureString
A SqlSecureString value that specifies the secure connection string.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.