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.

  [Visual Basic]
  Public Sub New()

  [C#]
  public SqlCeCommand();

  [C++]
  public: SqlCeCommand();

  [JScript]
  public function SqlCeCommand();

Remarks

The base constructor initializes all fields to their default values. The following table shows initial property values for an instance of SqlCeCommand.

Properties Initial Value
CommandText empty string ("")
CommandType Text
Connection null

Requirements

Platforms: .NET Compact Framework

.NET Framework Security:

See Also

SqlCeCommand Class | SqlCeCommand Members | System.Data.SqlServerCe Namespace | SqlCeCommand Constructor Overload List

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

Send comments on this topic.

© Microsoft Corporation. All rights reserved.