PutData 方法

Adds bytes in a specific location in the IDTSBLOBObject100

命名空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件:  Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

語法

'宣告
Sub PutData ( _
    dwOffset As UInteger, _
    ByRef lpPointer As Byte, _
    dwLength As UInteger, _
    <OutAttribute> ByRef lpdwRead As UInteger _
)
'用途
Dim instance As IDTSBLOBObject100
Dim dwOffset As UInteger
Dim lpPointer As Byte
Dim dwLength As UInteger
Dim lpdwRead As UInteger

instance.PutData(dwOffset, lpPointer, _
    dwLength, lpdwRead)
void PutData(
    uint dwOffset,
    ref byte lpPointer,
    uint dwLength,
    out uint lpdwRead
)
void PutData(
    [InAttribute] unsigned int dwOffset, 
    [InAttribute] unsigned char% lpPointer, 
    [InAttribute] unsigned int dwLength, 
    [OutAttribute] unsigned int% lpdwRead
)
abstract PutData : 
        dwOffset:uint32 * 
        lpPointer:byte byref * 
        dwLength:uint32 * 
        lpdwRead:uint32 byref -> unit 
function PutData(
    dwOffset : uint, 
    lpPointer : byte, 
    dwLength : uint, 
    lpdwRead : uint
)

參數

備註

This method adds the specified bytes to a specific location in the collection of bytes stored in the IDTSBLOBObject100.

It cannot be called if an IStream object has already been retrieved from the object using the GetStream method.