Udostępnij przez


DataType.VarCharMax Property

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

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

Syntax

'Deklaracja
Public Shared ReadOnly Property VarCharMax As DataType
public static DataType VarCharMax { get; }
public:
static property DataType^ VarCharMax {
    DataType^ get ();
}
/** @property */
public static DataType get_VarCharMax ()
public static function get VarCharMax () : DataType

Property Value

A DataType object value that specifies a VarCharMax definition in the data type.

Remarks

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.