SqlMetaData.Max Property

 

Gets the length of text, ntext, and image data types.

Namespace:   Microsoft.SqlServer.Server
Assembly:  System.Data (in System.Data.dll)

public static long Max { get; }

Property Value

Type: System.Int64

The length of text, ntext, and image data types.

The default value is -1.

.NET Framework
Available since 2.0
Return to top
Show: