System.Data.SqlTypes.SqlStreamChars.SetLength Method (System.Int64)

Sets the length of the current stream. The assembly that contains this class has a friend relationship with SQLAccess.dll. It is intended for use by SQL Server.  For other databases, use the hosting mechanism provided by that database.

Namespace: System.Data.SqlTypes

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

Public MustOverride Sub SetLength (ByVal value As Long)
public abstract void SetLength (long value);

Parameters

Parameter

Description

value

The desired length of the current stream in bytes.

Version Information

.NET Framework

Supported in: 2.0, 3.0, 3.5