共用方式為


ConnectionStringWithEncryptedPassword 屬性

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

命名空間:  Microsoft.SqlServer.Management.RegisteredServers
組件:  Microsoft.SqlServer.Management.RegisteredServers (在 Microsoft.SqlServer.Management.RegisteredServers.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None)> _
Public Property ConnectionStringWithEncryptedPassword As String
    Get
    Friend Set
'用途
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)

屬性值

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

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。