AdomdDataReader.GetBytes Method

This member is reserved for future use.

命名空间: Microsoft.AnalysisServices.AdomdServer
程序集: msmgdsrv (in msmgdsrv.dll)

语法

声明
Public Function GetBytes ( _
    i As Integer, _
    fieldOffset As Long, _
    buffer As Byte(), _
    bufferoffset As Integer, _
    length As Integer _
) As Long
public long GetBytes (
    int i,
    long fieldOffset,
    byte[] buffer,
    int bufferoffset,
    int length
)
public:
virtual long long GetBytes (
    int i, 
    long long fieldOffset, 
    array<unsigned char>^ buffer, 
    int bufferoffset, 
    int length
) sealed
public final long GetBytes (
    int i, 
    long fieldOffset, 
    byte[] buffer, 
    int bufferoffset, 
    int length
)
public final function GetBytes (
    i : int, 
    fieldOffset : long, 
    buffer : byte[], 
    bufferoffset : int, 
    length : int
) : long

参数

  • i
    The zero-based ordinal position of the column to be retrieved.
  • fieldOffset
    The zero-based index within the column from which to begin reading data.
  • buffer
    The buffer into which to read the stream of bytes.
  • bufferoffset
    The zero-based index within the buffer from which to begin writing data.
  • length
    The number of bytes to read from the column.

返回值

A Long that contains the number of bytes actually read from the column.

异常

异常类型 条件
NotSupportedException

The method is called. For more information about this exception, see NotSupportedException Class

线程安全

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

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

AdomdDataReader Class
AdomdDataReader Members
Microsoft.AnalysisServices.AdomdServer Namespace