Share via


Propriété NVarCharMax

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

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

Syntaxe

'Déclaration
Public Shared ReadOnly Property NVarCharMax As DataType
    Get
'Utilisation
Dim value As DataType

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

Valeur de propriété

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

Notes

This data type allows storage of up to a maximum of 2GB of data. You can use the VarCharMax data type as a parameter in stored procedures and string functions. However, you cannot use this data type in the key column of an index.