Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the data type that is assigned to the column.
This API is not CLS-compliant.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcReferenceAttribute(GetType(UserDefinedType), GetType(UserDefinedTypeResolver), _
"Resolve", )> _
<CLSCompliantAttribute(False)> _
<SfcReferenceAttribute(GetType(UserDefinedDataType), GetType(UserDefinedDataTypeResolver), _
"Resolve", )> _
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property DataType As DataType
Get
Set
'Usage
Dim instance As Column
Dim value As DataType
value = instance.DataType
instance.DataType = value
[SfcReferenceAttribute(typeof(UserDefinedType), typeof(UserDefinedTypeResolver),
"Resolve", )]
[CLSCompliantAttribute(false)]
[SfcReferenceAttribute(typeof(UserDefinedDataType), typeof(UserDefinedDataTypeResolver),
"Resolve", )]
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public DataType DataType { get; set; }
[SfcReferenceAttribute(typeof(UserDefinedType), typeof(UserDefinedTypeResolver),
L"Resolve", )]
[CLSCompliantAttribute(false)]
[SfcReferenceAttribute(typeof(UserDefinedDataType), typeof(UserDefinedDataTypeResolver),
L"Resolve", )]
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
public:
property DataType^ DataType {
DataType^ get ();
void set (DataType^ value);
}
[<SfcReferenceAttribute(typeof(UserDefinedType), typeof(UserDefinedTypeResolver),
"Resolve", )>]
[<CLSCompliantAttribute(false)>]
[<SfcReferenceAttribute(typeof(UserDefinedDataType), typeof(UserDefinedDataTypeResolver),
"Resolve", )>]
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
member DataType : DataType with get, set
function get DataType () : DataType
function set DataType (value : DataType)
Property Value
Type: Microsoft.SqlServer.Management.Smo.DataType
A DataType object value that specifies the data type assigned to the column.
Examples
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace