DataTypeSpec Class
Represents a built-in data type specification.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.SqlParser.Metadata.DataTypeSpec
Namespace: Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Public Class DataTypeSpec
'Usage
Dim instance As DataTypeSpec
public class DataTypeSpec
public ref class DataTypeSpec
type DataTypeSpec = class end
public class DataTypeSpec
The DataTypeSpec type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
ArgIsScale | Gets a value that indicates whether the first argument represents the scale or the length. |
![]() |
ArgSpec1 | Gets the DataTypeArgSpec object that describes the data type of the first argument. |
![]() |
ArgSpec2 | Gets the DataTypeArgSpec object that describes the data type of the second argument. |
![]() ![]() |
BigInt | Gets the data type specification for the bigint data type. |
![]() ![]() |
Binary | Gets the data type specification for the binary data type. |
![]() ![]() |
Bit | Gets the data type specification for the bit data type. |
![]() ![]() |
Char | Gets the data type specification for the char data type. |
![]() ![]() |
Date | Gets the data type specification for the date data type. |
![]() ![]() |
DateTime | Gets the data type specification for the datetime data type. |
![]() ![]() |
DateTime2 | Gets the data type specification for the datetime2 data type. |
![]() ![]() |
DateTimeOffset | Gets the data type specification for the datetimeoffset data type. |
![]() ![]() |
Decimal | Gets the data type specification for the decimal data type. |
![]() ![]() |
Float | Gets the data type specification for the float data type. |
![]() ![]() |
Geography | Gets the data type specification for the geography data type. |
![]() ![]() |
Geometry | Gets the data type specification for the geometry data type. |
![]() ![]() |
HierarchyId | Gets the data type specification for the hierarchyid data type. |
![]() ![]() |
Image | Gets the data type specification for the image data type, |
![]() ![]() |
Int | Gets the data type specification for the int data type. |
![]() ![]() |
Money | Gets the data type specification for the money data type. |
![]() |
Name | Gets the name of the data type. |
![]() ![]() |
NChar | Gets the data type specification for the nchar data type. |
![]() ![]() |
NText | Gets the data type specification for the ntext data type. |
![]() ![]() |
Numeric | Gets the data type specification for the numeric data type. |
![]() ![]() |
NVarChar | Gets the data type specification for the nvarchar data type. |
![]() ![]() |
NVarCharMax | Gets the data type specification for the nvarchar(max) data type. |
![]() ![]() |
Real | Gets the data type specification for the real data type. |
![]() |
RequireLength | Gets a value that indicates whether the data type requires a length. |
![]() ![]() |
SmallDateTime | Gets the data type specification for the smalldatetime data type. |
![]() ![]() |
SmallInt | Gets the data type specification for the smallint data type. |
![]() ![]() |
SmallMoney | Gets the data type specification for the smallmoney data type. |
![]() |
SqlDataType | Gets the SqlDataType value of the built-in data type. |
![]() ![]() |
SysName | Gets the data type specification for the sysname data type. |
![]() ![]() |
Text | Gets the data type specification for the text data type. |
![]() ![]() |
Time | Gets the data type specification for the time data type. |
![]() ![]() |
Timestamp | Gets the data type specification for the timestamp data type. |
![]() ![]() |
TinyInt | Gets the data type specification for the tinyint data type. |
![]() ![]() |
UniqueIdentifier | Gets the data type specification for the uniqueidentifier data type. |
![]() ![]() |
VarBinary | Gets the data type specification for the varbinary data type. |
![]() ![]() |
VarBinaryMax | Gets the data type specification for the varbinary(max) data type. |
![]() ![]() |
VarChar | Gets the data type specification for the varchar data type. |
![]() ![]() |
VarCharMax | Gets the data type specification for the varchar(max) data type. |
![]() ![]() |
Variant | Gets the data type specification for the variant data type. |
![]() ![]() |
Xml | Gets the data type specification for the xml data type. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() ![]() |
GetDataTypeSpec | Gets a DataTypeSpec object with a name that matches the specified name. |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
ToString | (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.