Export (0) Print
Expand All

DataType Methods

The DataType type exposes the following members.

  Name Description
Public method Static member Binary Returns an object that represents the specified type.
Public method Static member Char Returns an object that represents the specified type.
Public method Static member DateTime2 datetime2 is an extension of the existing datetime type. It has a large date range and large default fractional precision. It has a length of at least 19 positions.
Public method Static member DateTimeOffset Returns values for year, month, day, valid time of day between 00:00:00 and 23:59:59:9999999 and offset, in hours, from UTC. It has a length of at least 25 positions.
Public method Static member Decimal Returns an object that represents the specified type.
Public method Equals(Object) Determines whether the specified object is considered equal to the current data type. (Overrides ObjectEquals(Object).)
Public method Equals(DataType) Determines whether the specified data types are considered equal.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode This method supports the SQL Server infrastructure and is not intended to be used directly from your code. (Overrides ObjectGetHashCode.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Static member NChar Returns an object that represents the specified type.
Public method Static member Numeric Returns an object that represents the specified type.
Public method Static member NVarChar Returns an object that represents the specified type.
Public method Static member Time Returns values for any valid time of day between 00:00:00 and 23:59:59:9999999. It has a length of at least eight positions and contains the time in hours, minutes, seconds and fractional seconds.
Public method ToString Returns the object in string format. (Overrides ObjectToString.)
Public method Static member UserDefinedDataType(String) Returns an object that represents the specified type.
Public method Static member UserDefinedDataType(String, String) Returns an object that represents the specified type with the specified schema.
Public method Static member UserDefinedTableType(String) Returns an object that represents the specified type.
Public method Static member UserDefinedTableType(String, String) Returns an object that represents the specified type with the specified schema.
Public method Static member UserDefinedType(String) Returns an object that represents the specified type.
Public method Static member UserDefinedType(String, String) Returns an object that represents the specified type with the specified schema.
Public method Static member VarBinary Returns an object that represents the specified type.
Public method Static member VarChar Returns an object that represents the specified type.
Public method Static member Xml(String) Returns an object that represents the specified type.
Public method Static member Xml(String, String) Returns an object that represents the specified type and with the specified schema.
Public method Static member Xml(String, String, XmlDocumentConstraint) Returns an object that represents the specified type, schema and XML document constraint.
Top

  Name Description
Explicit interface implemetation Private method IXmlSerializableGetSchema Not implemented.
Explicit interface implemetation Private method IXmlSerializableReadXml Deserializes the DAC type properties from an XML stream. Identified for informational purposes only. Not supported. Future compatibility is not guaranteed..
Explicit interface implemetation Private method IXmlSerializableWriteXml Serializes the data type properties to an XML stream. Identified for informational purposes only. Not supported. Future compatibility is not guaranteed..
Top

Community Additions

ADD
Show:
© 2014 Microsoft