SqlCeError.Source 属性
获取生成错误的提供程序的名称。
命名空间: System.Data.SqlServerCe
程序集: System.Data.SqlServerCe(在 system.data.sqlserverce.dll 中)
语法
声明
Public ReadOnly Property Source As String
用法
Dim instance As SqlCeError
Dim value As String
value = instance.Source
public string Source { get; }
public:
property String^ Source {
String^ get ();
}
/** @property */
public String get_Source ()
public function get Source () : String
不适用。
属性值
生成错误的提供程序的名称。例如,Source 属性可以返回诸如“OLE DB Provider for SQL Server Compact Edition”之类的字符串。
平台
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
Windows Vista、Microsoft Windows XP SP2 和 Windows Server 2003 SP1 支持 Microsoft .NET Framework 3.0。
版本信息
.NET Framework
受以下版本支持:3.0
.NET Compact Framework
受以下版本支持:2.0、1.0