SqlMetaData Constructor (String, SqlDbType, Int64, Int64, SqlCompareOptions)
This constructor supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Initializes a new instance of the SqlMetaData class with the specified column name, type, precision, and scale.
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in system.data.sqlserverce.dll)
Syntax
'Declaration
Public Sub New ( _
name As String, _
dbType As SqlDbType, _
maxLength As Long, _
locale As Long, _
compareOptions As SqlCompareOptions _
)
'Usage
Dim name As String
Dim dbType As SqlDbType
Dim maxLength As Long
Dim locale As Long
Dim compareOptions As SqlCompareOptions
Dim instance As New SqlMetaData(name, dbType, maxLength, locale, compareOptions)
public SqlMetaData (
string name,
SqlDbType dbType,
long maxLength,
long locale,
SqlCompareOptions compareOptions
)
public:
SqlMetaData (
String^ name,
SqlDbType dbType,
long long maxLength,
long long locale,
SqlCompareOptions compareOptions
)
public SqlMetaData (
String name,
SqlDbType dbType,
long maxLength,
long locale,
SqlCompareOptions compareOptions
)
public function SqlMetaData (
name : String,
dbType : SqlDbType,
maxLength : long,
locale : long,
compareOptions : SqlCompareOptions
)
Parameters
- name
The name of the parameter or column.
- dbType
The SQL Server type of the parameter or column.
- maxLength
The maximum length of the specified type.
- locale
The locale ID of the parameter or column.
- compareOptions
The comparison rules of the parameter or column.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .
Platforms
Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows XP Professional x64 Edition, Windows XP SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Version Information
.NET Compact Framework
Supported in: 2.0
See Also
Reference
SqlMetaData Class
SqlMetaData Members
System.Data.SqlServerCe Namespace