SqlBytes.MaxLength SqlBytes.MaxLength SqlBytes.MaxLength SqlBytes.MaxLength Property

Definition

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

public:
 property long MaxLength { long get(); };
public long MaxLength { get; }
member this.MaxLength : int64
Public ReadOnly Property MaxLength As Long

Property Value

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

Remarks

The default value is 0.

Applies to

See also