Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » SQL Anywhere Server - Programming » SQL Anywhere Data Access APIs » SQL Anywhere .NET 2.0 API Reference » iAnywhere.Data.SQLAnywhere namespace (.NET 2.0) » SABulkCopy class » WriteToServer methods


WriteToServer(IDataReader) method

Copies all rows in the supplied [external link] IDataReader to a destination table specified by the DestinationTableName property of the SABulkCopy object.

Visual Basic

Public Sub WriteToServer( _
   ByVal reader As IDataReader _

public void WriteToServer(
   IDataReader reader
  • reader¬†¬† A System.Data.IDataReader whose rows will be copied to the destination table.


Restrictions: The SABulkCopy class is not available in the .NET Compact Framework 2.0.

See also