Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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 with the text of the query.
[Visual Basic] Public Sub New( _ ByVal cmdText As String _ ) [C#] public SqlCeCommand( string cmdText ); [C++] public: SqlCeCommand( String* cmdText ); [JScript] public function SqlCeCommand( cmdText : String);
Parameters
- cmdText
The text of the query.
Remarks
The following table shows initial property values for an instance of SqlCeCommand.
| Properties | Initial Value |
|---|---|
| CommandText | cmdText |
| CommandType | Text |
| Connection | null |
Requirements
Platforms: .NET Compact Framework
.NET Framework Security:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code
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.