共用方式為


IVsDataConnectionProperties.ToSafeString 方法

當由類別實作,以擷取排除敏感性屬性或屬性不應該保存目前資料集的字串表示連接屬性。

命名空間:  Microsoft.VisualStudio.Data.Services.SupportEntities
組件:  Microsoft.VisualStudio.Data.Services (在 Microsoft.VisualStudio.Data.Services.dll 中)

語法

'宣告
Function ToSafeString As String
string ToSafeString()
String^ ToSafeString()
abstract ToSafeString : unit -> string
function ToSafeString() : String

傳回值

類型:String
排除敏感性屬性或屬性不應該保存目前資料集的字串表示連接屬性。

備註

即時線屬性的範例包括密碼屬性。

.NET Framework 安全性

請參閱

參考

IVsDataConnectionProperties 介面

Microsoft.VisualStudio.Data.Services.SupportEntities 命名空間