次の方法で共有


DataReader.BufferSize Property

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets or sets the buffer size used when reading information from the data store.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim instance As DataReader
Dim value As Integer

value = instance.BufferSize

instance.BufferSize = value

Syntax

'Declaration
Public Property BufferSize As Integer
public int BufferSize { get; set; }
public:
property int BufferSize {
    int get ();
    void set (int value);
}
/** @property */
public int get_BufferSize ()

/** @property */
public void set_BufferSize (int value)
public function get BufferSize () : int

public function set BufferSize (value : int)

Property Value

The buffer size.

Exceptions

Exception type Condition
ArgumentOutOfRangeException

The value does not fall within the valid range.

Remarks

The value must be greater than 100 and less than 10,000.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

DataReader Class
DataReader Members
Microsoft.EnterpriseManagement.Common Namespace