共用方式為


SqlCeProviderFactory.Instance Field

SqlCeProviderFactory 的執行個體。

命名空間: System.Data.SqlServerCe
組件: System.Data.SqlServerCe (在 system.data.sqlserverce.dll)

語法

'宣告
<SuppressMessageAttribute("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes")> _
Public Shared ReadOnly Instance As SqlCeProviderFactory
[SuppressMessageAttribute("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes")] 
public static readonly SqlCeProviderFactory Instance
[SuppressMessageAttribute(L"Microsoft.Security", L"CA2104:DoNotDeclareReadOnlyMutableReferenceTypes")] 
public:
static initonly SqlCeProviderFactory^ Instance
/** @attribute SuppressMessageAttribute("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes") */ 
public static final SqlCeProviderFactory Instance
SuppressMessageAttribute("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes") 
public static final var Instance : SqlCeProviderFactory

平台

開發平台

Windows Vista, Windows Mobile 5.0, Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Mobile 2003 for Pocket PC, Windows CE 5.0
版本資訊
.NET Framework 及 NET Compact Framework
支援於 3.5
.NET Framework
支援於 3.0
.NET Compact Framework 及 .Net Framework
支援於 2.0

另請參閱

參考

SqlCeProviderFactory Class
SqlCeProviderFactory Members
System.Data.SqlServerCe Namespace