共用方式為


DefaultBufferSize 屬性

Gets or sets the default size of the IDTSBuffer100 objects created by a task.

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

語法

'宣告
Public Overridable Property DefaultBufferSize As Integer
    Get
    Set
'用途
Dim instance As MainPipeClass
Dim value As Integer

value = instance.DefaultBufferSize

instance.DefaultBufferSize = value
public virtual int DefaultBufferSize { get; set; }
public:
virtual property int DefaultBufferSize {
    int get ();
    void set (int value);
}
abstract DefaultBufferSize : int with get, set
override DefaultBufferSize : int with get, set
function get DefaultBufferSize () : int
function set DefaultBufferSize (value : int)

屬性值

型別:System. . :: . .Int32
The default size, in bytes, of the IDTSBuffer100 objects created by the task.

實作

IDTSPipeline100. . :: . .DefaultBufferSize

備註

The default value of this property is 10 megabytes, with a maximum of 100 megabytes.

For a brief discussion of this property and related properties that can be used to optimize the performance of the Data Flow task, see 改善資料流程的效能.