SmiQueryMetaData Constructor (SqlDbType, Int64, Byte, Byte, Int64, SqlCompareOptions, Type, String, String, String, String, Boolean, String ... )
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Constructs a new SmiQueryMetaData.
The assembly that contains this class has a friend relationship with SQLAccess.dll. This class is intended for use by SQL Server. For other databases, use the hosting mechanism provided by that database.
Namespace: Microsoft.SqlServer.Server
Assembly: System.Data (in System.Data.dll)
SmiQueryMetaData(ByVal dbType As SqlDbType, ByVal maxLength As Long, ByVal precision As Byte, ByVal scale As Byte, ByVal localeId As Long, ByVal compareOptions As SqlCompareOptions, ByVal userDefinedType As Type, ByVal name As String, ByVal typeSpecificNamePart1 As String, ByVal typeSpecificNamePart2 As String, ByVal typeSpecificNamePart3 As String, ByVal allowsDBNull As Boolean, ByVal serverName As String, ByVal catalogName As String, ByVal schemaName As String, ByVal tableName As String, ByVal columnName As String, ByVal isKey As SqlBoolean, ByVal isIdentity As Boolean, ByVal isReadOnly As Boolean, ByVal isExpression As SqlBoolean, ByVal isAliased As SqlBoolean, ByVal isHidden As SqlBoolean)
internal SmiQueryMetaData (SqlDbType dbType, long maxLength, Byte precision, Byte scale, long localeId, SqlCompareOptions compareOptions, Type userDefinedType, string name, string typeSpecificNamePart1, string typeSpecificNamePart2, string typeSpecificNamePart3, Boolean allowsDBNull, string serverName, string catalogName, string schemaName, string tableName, string columnName, SqlBoolean isKey, Boolean isIdentity, Boolean isReadOnly, SqlBoolean isExpression, SqlBoolean isAliased, SqlBoolean isHidden);
Parameters
Parameter |
Description |
|---|---|
dbType |
The SqlDbType of the column. |
maxLength |
The maximum length for the columns data type. |
precision |
The maximum number of digits used to represent the value. |
scale |
The number of decimal places in the value. |
localeId |
The Locale Id for the current column. |
compareOptions |
Sets the SqlCompareOptions for the current column |
userDefinedType |
The CLR Type of the User Defined Type. |
name |
The name of the column for which this MetaData belongs to. |
typeSpecificNamePart1 |
The 1st part of a 3 part name that represents types which have a 3 part name associated with it (e.g. a User Defined Type and the Xml Data Type). |
typeSpecificNamePart2 |
The 2nd part of a 3 part name that represents types which have a 3 part name associated with it (e.g. a User Defined Type and the Xml Data Type). |
typeSpecificNamePart3 |
The 3rd part of a 3 part name that represents types which have a 3 part name associated with it (e.g. a User Defined Type and the Xml Data Type). |
allowsDBNull |
Sets whether the column allows null values or not. |
serverName |
The name of the server the column is associated with. |
catalogName |
The name of the catalog the column is associated with. |
schemaName |
The name of the schema the column is associated with. |
tableName |
The name of the table the column is associated with. |
columnName |
The name of the column. |
isKey |
Sets whether the column is part of a key or not. |
isIdentity |
Sets whether the column is an identity. |
isReadOnly |
Specifies whether the column is read only. |
isExpression |
Sets whether the column is an expression. |
isAliased |
Sets whether the column is aliased. |
isHidden |
Sets whether the column is hidden. |
Version Information
.NET Framework
Supported in: 2.0