IVsDataConnection.SafeConnectionString 属性

获取连接字符串,不包括敏感信息。

命名空间:  Microsoft.VisualStudio.Data.Services
程序集:  Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)

语法

声明
Property SafeConnectionString As String
string SafeConnectionString { get; set; }
property String^ SafeConnectionString {
    String^ get ();
    void set (String^ value);
}
abstract SafeConnectionString : string with get, set
function get SafeConnectionString () : String
function set SafeConnectionString (value : String)

属性值

类型:System.String
表示排除敏感信息的连接字符串的 String 值。

备注

敏感信息的示例是密码特性。

.NET Framework 安全性

请参见

参考

IVsDataConnection 接口

Microsoft.VisualStudio.Data.Services 命名空间