Npgsql Api Docs |

# NpgsqlCopyOut Constructor (NpgsqlCommand, NpgsqlConnection, Stream)

Given command is executed upon Start() and all requested copy data is written to toStream immediately.

[Visual Basic]
Overloads Public Sub New( _
ByVal cmd As NpgsqlCommand, _
ByVal conn As NpgsqlConnection, _
ByVal toStream As Stream _
)
[C#]
public NpgsqlCopyOut(
NpgsqlCommand cmd,
NpgsqlConnection conn,
Stream toStream
);

#### See Also

NpgsqlCopyOut Class | Npgsql Namespace | NpgsqlCopyOut Constructor Overload List