Npgsql Api Docs |

# NpgsqlCopyOut Constructor (String, NpgsqlConnection)

Creates NpgsqlCommand to run given query upon Start(), after which CopyStream provides data from database as requested in the query.

[Visual Basic]
Overloads Public Sub New( _
ByVal copyOutQuery As String, _
ByVal conn As NpgsqlConnection _
)
[C#]
public NpgsqlCopyOut(
string copyOutQuery,
NpgsqlConnection conn
);

#### See Also

NpgsqlCopyOut Class | Npgsql Namespace | NpgsqlCopyOut Constructor Overload List