Sdílet prostřednictvím


RegisteredServer.ConnectionStringWithEncryptedPassword Property

Gets the connection string that is used to connect to the instance of SQL Server that has the encrypted password. 

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None)> _
Public Property ConnectionStringWithEncryptedPassword As String
    Get
    Friend Set
'Usage
Dim instance As RegisteredServer
Dim value As String

value = instance.ConnectionStringWithEncryptedPassword
[SfcPropertyAttribute(SfcPropertyFlags.None)]
public string ConnectionStringWithEncryptedPassword { get; internal set; }
[SfcPropertyAttribute(SfcPropertyFlags::None)]
public:
property String^ ConnectionStringWithEncryptedPassword {
    String^ get ();
    internal: void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None)>]
member ConnectionStringWithEncryptedPassword : string with get, internal set
function get ConnectionStringWithEncryptedPassword () : String
internal function set ConnectionStringWithEncryptedPassword (value : String)

Property Value

Type: System.String
A String value that specifies the connection string with an encrypted password.

Remarks

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