Share via


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
Public property ArgIsScale Gets a value that indicates whether the first argument represents the scale or the length.
Public property ArgSpec1 Gets the DataTypeArgSpec object that describes the data type of the first argument.
Public property ArgSpec2 Gets the DataTypeArgSpec object that describes the data type of the second argument.
Public propertyStatic member BigInt Gets the data type specification for the bigint data type.
Public propertyStatic member Binary Gets the data type specification for the binary data type.
Public propertyStatic member Bit Gets the data type specification for the bit data type.
Public propertyStatic member Char Gets the data type specification for the char data type.
Public propertyStatic member Date Gets the data type specification for the date data type.
Public propertyStatic member DateTime Gets the data type specification for the datetime data type.
Public propertyStatic member DateTime2 Gets the data type specification for the datetime2 data type.
Public propertyStatic member DateTimeOffset Gets the data type specification for the datetimeoffset data type.
Public propertyStatic member Decimal Gets the data type specification for the decimal data type.
Public propertyStatic member Float Gets the data type specification for the float data type.
Public propertyStatic member Geography Gets the data type specification for the geography data type.
Public propertyStatic member Geometry Gets the data type specification for the geometry data type.
Public propertyStatic member HierarchyId Gets the data type specification for the hierarchyid data type.
Public propertyStatic member Image Gets the data type specification for the image data type,
Public propertyStatic member Int Gets the data type specification for the int data type.
Public propertyStatic member Money Gets the data type specification for the money data type.
Public property Name Gets the name of the data type.
Public propertyStatic member NChar Gets the data type specification for the nchar data type.
Public propertyStatic member NText Gets the data type specification for the ntext data type.
Public propertyStatic member Numeric Gets the data type specification for the numeric data type.
Public propertyStatic member NVarChar Gets the data type specification for the nvarchar data type.
Public propertyStatic member NVarCharMax Gets the data type specification for the nvarchar(max) data type.
Public propertyStatic member Real Gets the data type specification for the real data type.
Public property RequireLength Gets a value that indicates whether the data type requires a length.
Public propertyStatic member SmallDateTime Gets the data type specification for the smalldatetime data type.
Public propertyStatic member SmallInt Gets the data type specification for the smallint data type.
Public propertyStatic member SmallMoney Gets the data type specification for the smallmoney data type.
Public property SqlDataType Gets the SqlDataType value of the built-in data type.
Public propertyStatic member SysName Gets the data type specification for the sysname data type.
Public propertyStatic member Text Gets the data type specification for the text data type.
Public propertyStatic member Time Gets the data type specification for the time data type.
Public propertyStatic member Timestamp Gets the data type specification for the timestamp data type.
Public propertyStatic member TinyInt Gets the data type specification for the tinyint data type.
Public propertyStatic member UniqueIdentifier Gets the data type specification for the uniqueidentifier data type.
Public propertyStatic member VarBinary Gets the data type specification for the varbinary data type.
Public propertyStatic member VarBinaryMax Gets the data type specification for the varbinary(max) data type.
Public propertyStatic member VarChar Gets the data type specification for the varchar data type.
Public propertyStatic member VarCharMax Gets the data type specification for the varchar(max) data type.
Public propertyStatic member Variant Gets the data type specification for the variant data type.
Public propertyStatic member Xml Gets the data type specification for the xml data type.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public methodStatic member GetDataTypeSpec Gets a DataTypeSpec object with a name that matches the specified name.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method 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.