Npgsql Api Docs |

# NpgsqlCopyIn.CopyStream Property

The stream provided by user or generated upon Start(). User may provide a stream to constructor; it is used to pass to server all data read from it. Otherwise, call to Start() sets this to a writable NpgsqlCopyInStream that passes all data written to it to server. In latter case this is only available while the copy operation is active and null otherwise.

[Visual Basic]
Public ReadOnly Property CopyStream As Stream
[C#]
public System.IO.Stream CopyStream {get;}

#### See Also

NpgsqlCopyIn Class | Npgsql Namespace