共用方式為


SecureConnectionString 屬性

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

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

語法

'宣告
<SfcIgnoreAttribute> _
Public Property SecureConnectionString As SqlSecureString
    Get
    Set
'用途
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)

屬性值

型別:SqlSecureString
A SqlSecureString value that specifies the secure connection string.

備註

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