CreateCommand Method

Returns a new instance of the provider's class that implements the System.Data.Common..::..DbCommand.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in 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()
virtual DbCommand^ CreateCommand() override
abstract CreateCommand : unit -> DbCommand 
override CreateCommand : unit -> DbCommand 
public override function CreateCommand() : DbCommand

Return Value

Type: System.Data.Common. . :: . .DbCommand
A new instance of [System.Data.Common.DbCommand].

See Also


SqlCeProviderFactory Class

SqlCeProviderFactory Members

System.Data.SqlServerCe Namespace