SqlCeProviderFactory.CreateCommand 方法
傳回實作 System.Data.Common.DbCommand 之提供者類別的新執行個體。
命名空間: System.Data.SqlServerCe
組件: System.Data.SqlServerCe (在 System.Data.SqlServerCe.dll 中)
語法
'宣告
Public Overrides Function CreateCommand As DbCommand
'用途
Dim instance As SqlCeProviderFactory
Dim returnValue As DbCommand
returnValue = instance.CreateCommand()
public override DbCommand CreateCommand()
public:
virtual DbCommand^ CreateCommand() override
abstract CreateCommand : unit -> DbCommand
override CreateCommand : unit -> DbCommand
public override function CreateCommand() : DbCommand
傳回值
型別:System.Data.Common.DbCommand
[System.Data.Common.DbCommand] 的新執行個體。