SqlBytes.MaxLength Property

 

Gets the maximum length of the value of the internal buffer of this SqlBytes.

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

member MaxLength : int64 with get

Property Value

Type: System.Int64

A long representing the maximum length of the value of the internal buffer. Returns -1 for a stream-wrapped SqlBytes.

The default value is 0.

.NET Framework
Available since 2.0
Return to top
Show: