Freigeben über


DataType-Konstruktor

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()

Hinweise

Der Standardkonstruktor initialisiert alle Felder mit ihren Standardwerten.

Beispiele

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