Share via


SqlCeCommand Constructor

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

Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.

Send comments on this topic.

© Microsoft Corporation. All rights reserved.