Share via


Constructeur DataType

Initializes a new instance of the DataType class.

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

Syntaxe

'Déclaration
Public Sub New
'Utilisation

Dim instance As New DataType()
public DataType()
public:
DataType()
new : unit -> DataType
public function DataType()

Notes

Le constructeur par défaut rétablit les valeurs par défaut de tous les champs.

Exemples

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