DataType.NText Property
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
Property Value
Type: Microsoft.SqlServer.Management.Smo.DataType
A DataType object value that specifies a NText definition in the data type.
Examples
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)
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace