IVsDataProvider.Description 属性

获取 DDEX 提供程序的说明。

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

语法

声明
ReadOnly Property Description As String
string Description { get; }
property String^ Description {
    String^ get ();
}
abstract Description : string with get
function get Description () : String

属性值

类型:String
DDEX 提供程序的说明。

备注

DDEX 提供程序的说明是最终用户的 DDEX 客户显示的已本地化字符串。 此用法的一个示例。数据连接 选择数据源 对话框,分组框提供的信息介绍 DDEX 源和数据提供程序当前选择。

此属性通过调用带有参数的 DescriptionGetProperty 方法检索字符串资源 ID. 确定说明 然后调用 GetString 方法以检索与该资源 . ID 的本地化字符串。 如果资源不存在,则返回 nullnull 引用(在 Visual Basic 中为 Nothing)。

“使用此数据提供程序连接到 SQL Server 2000 或 SQL Server 2005”是一个值的示例对此属性的。

.NET Framework 安全性

请参阅

参考

IVsDataProvider 接口

Microsoft.VisualStudio.Data.Core 命名空间