Partager via


Classe DataTypeSpec

Represents a built-in data type specification.

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly :  Microsoft.SqlServer.Management.SqlParser (en Microsoft.SqlServer.Management.SqlParser.dll)

Syntaxe

'Déclaration
Public Class DataTypeSpec
'Utilisation
Dim instance As DataTypeSpec
public class DataTypeSpec
public ref class DataTypeSpec
type DataTypeSpec =  class end
public class DataTypeSpec

Le type DataTypeSpec expose les membres suivants.

Propriétés

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

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publiqueMembre statique GetDataTypeSpec Gets a DataTypeSpec object with a name that matches the specified name.
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.