DTSBufferManagerClass 类
Creates and manages IDTSBuffer100 objects.
继承层次结构
System. . :: . .Object
Microsoft.SqlServer.Dts.Pipeline.Wrapper..::..DTSBufferManagerClass
命名空间: Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集: Microsoft.SqlServer.DTSPipelineWrap(在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)
语法
声明
<GuidAttribute("87A4C985-0E84-432C-AC1A-B6F49A04ED4F")> _
<ClassInterfaceAttribute()> _
Public Class DTSBufferManagerClass _
Implements DTSBufferManager, IDTSBufferManager100
用法
Dim instance As DTSBufferManagerClass
[GuidAttribute("87A4C985-0E84-432C-AC1A-B6F49A04ED4F")]
[ClassInterfaceAttribute()]
public class DTSBufferManagerClass : DTSBufferManager,
IDTSBufferManager100
[GuidAttribute(L"87A4C985-0E84-432C-AC1A-B6F49A04ED4F")]
[ClassInterfaceAttribute()]
public ref class DTSBufferManagerClass : DTSBufferManager,
IDTSBufferManager100
[<GuidAttribute("87A4C985-0E84-432C-AC1A-B6F49A04ED4F")>]
[<ClassInterfaceAttribute()>]
type DTSBufferManagerClass =
class
interface DTSBufferManager
interface IDTSBufferManager100
end
public class DTSBufferManagerClass implements DTSBufferManager, IDTSBufferManager100
DTSBufferManagerClass 类型公开以下成员。
方法
名称 | 说明 | |
---|---|---|
CreateBuffer | Creates an IDTSBuffer100 object that is based on the specified buffer type. | |
CreateFlatBuffer | Creates an IDTSBuffer100 of the specified size. | |
CreateVirtualBuffer | 基础结构。 | |
Equals | (从 Object 继承。) | |
Finalize | (从 Object 继承。) | |
FindColumnByLineageID | Gets the location of a column in the specified IDTSBuffer100 object. | |
GetBLOBObject | Creates an IDTSBLOBObject100 that is used to manipulate binary large objects (BLOBs). | |
GetColumnCount | Gets the number of columns in the specified registered buffer type. | |
GetColumnInfo | Gets the DTP_BUFFCOL structure for a column in the specified buffer definition. | |
GetHashCode | (从 Object 继承。) | |
GetRowWidth | Gets the size of the row defined for the buffer type definition. | |
GetType | (从 Object 继承。) | |
MemberwiseClone | (从 Object 继承。) | |
RegisterBufferType | Registers a buffer type with the IDTSBufferManager100. | |
RegisterLineageIDs | 基础结构。 | |
ToString | (从 Object 继承。) |
页首
注释
The buffer manager is responsible for allocating, managing, and deleting the IDTSBuffer100 objects used by the data flow task and the components contained by the task, from a source through to the destination. It provides utility functions for registering buffer types, locating columns in a buffer, retrieving metadata about a column in a buffer and creating private buffers that are used internally by the component that requests the private buffer.
Managed data flow component developers use the buffer manager primarily to locate columns in a PipelineBuffer that were defined in the IDTSInput100 and IDTSOutput100 objects of the component. Managed component developers do not use the buffer manager to create IDTSBuffer100 objects because managed components do not interact directly with the IDTSBuffer100 objects created by the buffer manager. Managed components use the managed PipelineBuffer class, which marshals data between managed and native code.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。