NText-Eigenschaft

Gets a data type that specifies the NText definition used in the data type.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Shared ReadOnly Property NText As DataType
    Get
'Usage
Dim value As DataType

value = DataType.NText
public static DataType NText { get; }
public:
static property DataType^ NText {
    DataType^ get ();
}
static member NText : DataType
static function get NText () : DataType

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.Smo. . :: . .DataType
A DataType object value that specifies a NText definition in the data type.

Beispiele

Visual Basic

Dim d As DataType
d = New DataType(SqlDataType.NText, 10)

PowerShell

$dt = new-object Microsoft.SqlServer.Management.Smo.DataType([Microsoft.SqlServer.Management.Smo.SqlDataType]::NText, 10)