Partilhar via


Método SqlCeProviderFactory.CreateCommand

Retorna uma nova instância da classe do provedor que implementa System.Data.Common.DbCommand.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (em System.Data.SqlServerCe.dll)

Sintaxe

'Declaração
Public Overrides Function CreateCommand As DbCommand
'Uso
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

Valor de retorno

Tipo: System.Data.Common.DbCommand
Uma nova instância do [System.Data.Common.DbCommand].

Consulte também

Referência

SqlCeProviderFactory Classe

Namespace System.Data.SqlServerCe