DataType Members
The DataType object represents a Microsoft SQL Server data type.
The following tables list the members exposed by the DataType type.
Public Constructors
Name | Description | |
---|---|---|
DataType | Overloaded. Initializes a new instance of the DataType class. |
Top
Public Properties
Name | Description | |
---|---|---|
![]() ![]() |
BigInt | Gets a data type that specifies the BigInt definition used in the data type. |
![]() ![]() |
Bit | Gets a data type that specifies the Bit definition used in the data type. |
![]() ![]() |
DateTime | Gets a data type that specifies the DateTime definition used in the data type. |
![]() ![]() |
Float | Gets a data type that specifies the Float definition used in the data type. |
![]() ![]() |
Image | Gets a data type that specifies the Image definition used in the data type. |
![]() ![]() |
Int | Gets a data type that specifies the Int definition used in the data type. |
![]() |
MaximumLength | Gets the maximum length of the data type. |
![]() ![]() |
Money | Gets a data type that specifies the Money definition used in the data type. |
![]() |
Name | Gets the name of the data type. |
![]() ![]() |
NText | Gets a data type that specifies the NText definition used in the data type. |
![]() |
NumericPrecision | Gets or sets the numeric precision of the data type. |
![]() |
NumericScale | Gets or sets the numeric scale of the data type. |
![]() ![]() |
NVarCharMax | Gets a data type that specifies the NVarCharMax definition used in the data type. |
![]() ![]() |
Real | Gets a data type that specifies the Real definition used in the data type. |
![]() |
Schema | Gets or sets the schema of the data type. |
![]() ![]() |
SmallDateTime | Gets a data type that specifies the SmallDateTime definition used in the data type. |
![]() ![]() |
SmallInt | Gets a data type that specifies the SmallInt definition used in the data type. |
![]() ![]() |
SmallMoney | Gets a data type that specifies the SmallMoney definition used in the data type. |
![]() |
SqlDataType | Gets a data type that specifies the SqlDataType definition used in the data type. |
![]() ![]() |
SysName | Gets a data type that specifies the SysName definition used in the data type. |
![]() ![]() |
Text | Gets a data type that specifies the Text definition used in the data type. |
![]() ![]() |
Timestamp | Gets a data type that specifies the TimeStamp definition used in the data type. |
![]() ![]() |
TinyInt | Gets a data type that specifies the TinyInt definition used in the data type. |
![]() ![]() |
UniqueIdentifier | Gets a data type that specifies the UniqueIdentifier definition used in the data type. |
![]() ![]() |
VarBinaryMax | Gets a data type that specifies the VarBinaryMax definition used in the data type. |
![]() ![]() |
VarCharMax | Gets a data type that specifies the VarCharMax definition used in the data type. |
![]() ![]() |
Variant | Gets a data type that specifies the Variant definition used in the data type. |
![]() |
XmlDocumentConstraint |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
![]() ![]() |
Binary | Returns an object that represents the specified type. |
![]() ![]() |
Char | Returns an object that represents the specified type. |
![]() ![]() |
Decimal | Returns an object that represents the specified type. |
![]() |
Equals | Overloaded. (inherited from Object ) |
![]() |
GetHashCode | (inherited from Object ) |
![]() |
GetType | (inherited from Object ) |
![]() ![]() |
NChar | Returns an object that represents the specified type. |
![]() ![]() |
Numeric | Returns an object that represents the specified type. |
![]() ![]() |
NVarChar | Returns an object that represents the specified type. |
![]() ![]() |
ReferenceEquals | (inherited from Object ) |
![]() |
ToString | Overridden. Returns the object in string format. |
![]() ![]() |
UserDefinedDataType | Overloaded. Returns an object that represents the specified type. |
![]() ![]() |
UserDefinedType | Overloaded. Returns an object that represents the specified type. |
![]() ![]() |
VarBinary | Returns an object that represents the specified type. |
![]() ![]() |
VarChar | Returns an object that represents the specified type. |
![]() ![]() |
Xml | Overloaded. Returns an object that represents the specified type. |
Top
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | (inherited from Object ) |
![]() |
MemberwiseClone | (inherited from Object ) |
Top
See Also
Reference
DataType Class
Microsoft.SqlServer.Management.Smo Namespace