Partager via


Champ tagBUFFERCOL.lMaxLength

Indicates the maximum length of the data stored in a buffer column.

Espace de noms :  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly :  Microsoft.SqlServer.DTSPipelineWrap (en Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntaxe

'Déclaration
Public lMaxLength As Integer
'Utilisation
Dim instance As tagBUFFERCOL 
Dim value As Integer 

value = instance.lMaxLength 

instance.lMaxLength = value
public int lMaxLength
public:
int lMaxLength
val mutable lMaxLength: int
public var lMaxLength : int

Notes

The value is important for variable length types, such as DT_BYTES and DT_STR, because it determines the amount of storage available in the buffer for the column. The value does not include space for a trailing nullune référence Null (Nothing dans Visual Basic) terminator, though one is allocated and supplied by the buffer for DT_STR, DT_WSTR, and DT_TEXT types. For string types, the value is the number of characters. For fixed length and binary large object (BLOB) types, the lMaxLength value is ignored and contains a zero.

Voir aussi

Référence

tagBUFFERCOL Structure

Espace de noms Microsoft.SqlServer.Dts.Pipeline.Wrapper