This documentation is archived and is not being maintained.

SqlCeCommand Constructor

.NET Framework 1.1
Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Initializes a new instance of the SqlCeCommand class.

Overload List

Initializes a new instance of the SqlCeCommand class.

Supported only by the .NET Compact Framework.

[Visual Basic] Public Sub New()
[C#] public SqlCeCommand();
[C++] public: SqlCeCommand();
[JScript] public function SqlCeCommand();

Initializes a new instance of the SqlCeCommand class with the text of the query.

Supported only by the .NET Compact Framework.

[Visual Basic] Public Sub New(String)
[C#] public SqlCeCommand(string);
[C++] public: SqlCeCommand(String*);
[JScript] public function SqlCeCommand(String);

Initializes a new instance of the SqlCeCommand class with the text of the query and a SqlCeConnection.

Supported only by the .NET Compact Framework.

[Visual Basic] Public Sub New(String, SqlCeConnection)
[C#] public SqlCeCommand(string, SqlCeConnection);
[C++] public: SqlCeCommand(String*, SqlCeConnection*);
[JScript] public function SqlCeCommand(String, SqlCeConnection);

Initializes a new instance of the SqlCeCommand class with the text of the query, a SqlCeConnection, and the SqlCeTransaction.

Supported only by the .NET Compact Framework.

[Visual Basic] Public Sub New(String, SqlCeConnection, SqlCeTransaction)
[C#] public SqlCeCommand(string, SqlCeConnection, SqlCeTransaction);
[C++] public: SqlCeCommand(String*, SqlCeConnection*, SqlCeTransaction*);
[JScript] public function SqlCeCommand(String, SqlCeConnection, SqlCeTransaction);

See Also

SqlCeCommand Class | SqlCeCommand Members | System.Data.SqlServerCe Namespace

Show: