Класс 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("26D38582-1304-4A82-AD14-8DC8C09E6233")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class DTSBufferManagerClass _
Implements DTSBufferManager, IDTSBufferManager100
'Применение
Dim instance As DTSBufferManagerClass
[GuidAttribute("26D38582-1304-4A82-AD14-8DC8C09E6233")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
public class DTSBufferManagerClass : DTSBufferManager,
IDTSBufferManager100
[GuidAttribute(L"26D38582-1304-4A82-AD14-8DC8C09E6233")]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
public ref class DTSBufferManagerClass : DTSBufferManager,
IDTSBufferManager100
[<GuidAttribute("26D38582-1304-4A82-AD14-8DC8C09E6233")>]
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
type DTSBufferManagerClass =
class
interface DTSBufferManager
interface IDTSBufferManager100
end
public class DTSBufferManagerClass implements DTSBufferManager, IDTSBufferManager100
Тип DTSBufferManagerClass обеспечивает доступ к следующим элементам.
Конструкторы
Имя | Описание | |
---|---|---|
DTSBufferManagerClass | Initializes a new instance of the DTSBufferManagerClass. |
В начало
Свойства
Имя | Описание | |
---|---|---|
IsVirtual | Gets a value that indicates whether the specified buffer is a virtual buffer. |
В начало
Методы
Имя | Описание | |
---|---|---|
CreateBuffer | Creates an IDTSBuffer100 object that is based on the specified buffer type. | |
CreateFlatBuffer | Creates an IDTSBuffer100 of the specified size. | |
CreateFlatBuffer64 | Creates an IDTSBuffer100 of the specified size. | |
CreateVirtualBuffer | Инфраструктура. Creates a virtual IDTSBuffer100 object. | |
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 | Инфраструктура. Registers the specified IDTSBuffer100 object. | |
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.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.