Npgsql Api Docs |

# NpgsqlCopyOut Class

Represents a PostgreSQL COPY TO STDOUT operation with a corresponding SQL statement to execute against a PostgreSQL database and an associated stream used to write results to (if provided by user) or for reading the results (when generated by driver). Eg. new NpgsqlCopyOut("COPY (SELECT * FROM mytable) TO STDOUT", connection, streamToWrite).Start();

For a list of all members of this type, see NpgsqlCopyOut Members.

System.Object
Npgsql.NpgsqlCopyOut

[Visual Basic]
Public Class NpgsqlCopyOut
[C#]
public class NpgsqlCopyOut

#### Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

#### Requirements

Namespace: Npgsql

Assembly: Npgsql (in )

#### See Also

NpgsqlCopyOut Members | Npgsql Namespace