# Enum LogicalSlotSnapshotInitMode

Namespace
  Npgsql.Replication

Assembly
  Npgsql.dll

Decides what to do with the snapshot created during logical slot initialization.

    public enum LogicalSlotSnapshotInitMode

## Fields

`Export = 0`

  Export the snapshot for use in other sessions. This is the default. This option can't be used inside a transaction.

`NoExport = 2`

  Just use the snapshot for logical decoding as normal but don't do anything else with it.

`Use = 1`

  Use the snapshot for the current transaction executing the command. This option must be used in a transaction, and CREATE_REPLICATION_SLOT must be the first command run in that transaction.