DataType Constructor
Initializes a new instance of the DataType class.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub New
'Usage
Dim instance As New DataType()
public DataType()
public:
DataType()
new : unit -> DataType
public function DataType()
Remarks
The default constructor initializes any fields to their default values.
Examples
Visual Basic
'Declare and create a DataType object variable.
Dim dt As DataType
dt = New DataType
PowerShell
$dt = new-object Microsoft.SqlServer.Management.Smo.DataType