Export (0) Print
Expand All

DataTypeSpec Class

Represents a built-in data type specification.

Object
  Microsoft.SqlServer.Management.SqlParser.Metadata.DataTypeSpec

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

public class DataTypeSpec

The DataTypeSpec type exposes the following members.

  NameDescription
Public propertyStatic memberAllDataTypesGets the collection of data type specifications for all system data types.
Public propertyArgIsScaleGets a value that indicates whether the first argument represents the scale or the length.
Public propertyArgSpec1Gets the DataTypeArgSpec object that describes the data type of the first argument.
Public propertyArgSpec2Gets the DataTypeArgSpec object that describes the data type of the second argument.
Public propertyStatic memberBigIntGets the data type specification for the bigint data type.
Public propertyStatic memberBinaryGets the data type specification for the binary data type.
Public propertyStatic memberBitGets the data type specification for the bit data type.
Public propertyStatic memberCharGets the data type specification for the char data type.
Public propertyStatic memberDateGets the data type specification for the date data type.
Public propertyStatic memberDateTimeGets the data type specification for the datetime data type.
Public propertyStatic memberDateTime2Gets the data type specification for the datetime2 data type.
Public propertyStatic memberDateTimeOffsetGets the data type specification for the datetimeoffset data type.
Public propertyStatic memberDecimalGets the data type specification for the decimal data type.
Public propertyStatic memberFloatGets the data type specification for the float data type.
Public propertyStatic memberGeographyGets the data type specification for the geography data type.
Public propertyStatic memberGeometryGets the data type specification for the geometry data type.
Public propertyStatic memberHierarchyIdGets the data type specification for the hierarchyid data type.
Public propertyStatic memberImageGets the data type specification for the image data type,
Public propertyStatic memberIntGets the data type specification for the int data type.
Public propertyStatic memberMoneyGets the data type specification for the money data type.
Public propertyNameGets the name of the data type.
Public propertyStatic memberNCharGets the data type specification for the nchar data type.
Public propertyStatic memberNTextGets the data type specification for the ntext data type.
Public propertyStatic memberNumericGets the data type specification for the numeric data type.
Public propertyStatic memberNVarCharGets the data type specification for the nvarchar data type.
Public propertyStatic memberNVarCharMaxGets the data type specification for the nvarchar(max) data type.
Public propertyStatic memberRealGets the data type specification for the real data type.
Public propertyRequireLengthGets a value that indicates whether the data type requires a length.
Public propertyStatic memberSmallDateTimeGets the data type specification for the smalldatetime data type.
Public propertyStatic memberSmallIntGets the data type specification for the smallint data type.
Public propertyStatic memberSmallMoneyGets the data type specification for the smallmoney data type.
Public propertySqlDataTypeGets the SqlDataType value of the built-in data type.
Public propertyStatic memberSysNameGets the data type specification for the sysname data type.
Public propertyStatic memberTextGets the data type specification for the text data type.
Public propertyStatic memberTimeGets the data type specification for the time data type.
Public propertyStatic memberTimestampGets the data type specification for the timestamp data type.
Public propertyStatic memberTinyIntGets the data type specification for the tinyint data type.
Public propertyStatic memberUniqueIdentifierGets the data type specification for the uniqueidentifier data type.
Public propertyStatic memberVarBinaryGets the data type specification for the varbinary data type.
Public propertyStatic memberVarBinaryMaxGets the data type specification for the varbinary(max) data type.
Public propertyStatic memberVarCharGets the data type specification for the varchar data type.
Public propertyStatic memberVarCharMaxGets the data type specification for the varchar(max) data type.
Public propertyStatic memberVariantGets the data type specification for the variant data type.
Public propertyStatic memberXmlGets the data type specification for the xml data type.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodStatic memberGetDataTypeSpecGets a DataTypeSpec object with a name that matches the specified name.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft