共用方式為


IVsDataProvider.DisplayName 屬性

取得 DDEX 提供者的顯示名稱。

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

語法

'宣告
ReadOnly Property DisplayName As String
string DisplayName { get; }
property String^ DisplayName {
    String^ get ();
}
abstract DisplayName : string with get
function get DisplayName () : String

屬性值

類型:String
DDEX 提供者的顯示名稱。

備註

DDEX 提供者的顯示名稱是使用者的 DDEX 用戶端顯示的當地語系化字串。 這個使用方式的範例資料連接的 [選取資料來源] 對話方塊中, DDEX 資料來源和提供者是由使用者選取。

這個屬性可以使用 DisplayName 參數的 GetProperty 方法擷取字串資源 ID. 判斷顯示名稱。 然後它會呼叫 GetString 方法來擷取與該資源 ID. 的當地語系化字串。 如果資源不存在, Name 屬性的值。

「.NET Framework Data Provider for SQL Server」是值的範例為屬性的。

.NET Framework 安全性

請參閱

參考

IVsDataProvider 介面

Microsoft.VisualStudio.Data.Core 命名空間