Kommentar
Å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 SqlCeParameter class with the parameter name, data type, and length.
[Visual Basic] Public Sub New( _ ByVal name As String, _ ByVal dataType As SqlDbType, _ ByVal size As Integer _ ) [C#] public SqlCeParameter( string name,SqlDbType dataType,int size ); [C++] public: SqlCeParameter( String* name,SqlDbType dataType,int size ); [JScript] public function SqlCeParameter( name : String, dataType : SqlDbType, size : int);
Parameters
- name
The name of the parameter to map. - dataType
One of the SqlDbType values. - size
The length of the parameter.
Remarks
Size is inferred from the value of the dataType parameter if it is not explicitly set in the size parameter.
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
SqlCeParameter Class | SqlCeParameter Members | System.Data.SqlServerCe Namespace | SqlCeParameter Constructor Overload List
Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.