# Class LogicalReplicationSlot

Namespace
  Npgsql.Replication.Internal

Assembly
  Npgsql.dll

Contains information about a newly-created logical replication slot.

    public abstract class LogicalReplicationSlot : ReplicationSlot

Inheritance
  object
  ReplicationSlot
  LogicalReplicationSlot

Derived
  PgOutputReplicationSlot
  TestDecodingReplicationSlot

Inherited Members
  ReplicationSlot.Name
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.MemberwiseClone()
  object.ReferenceEquals(object, object)
  object.ToString()

## Constructors

### LogicalReplicationSlot(string, ReplicationSlotOptions)

Creates a new logical replication slot

    protected LogicalReplicationSlot(string outputPlugin, ReplicationSlotOptions replicationSlotOptions)

#### Parameters

`outputPlugin` string

  The logical decoding output plugin to the corresponding replication slot was created for.

`replicationSlotOptions` ReplicationSlotOptions

  A ReplicationSlotOptions struct with information to create the replication slot.

## Properties

### ConsistentPoint

The WAL location at which the slot became consistent. This is the earliest location from which streaming can start on this replication slot.

    public NpgsqlLogSequenceNumber ConsistentPoint { get; }

#### Property Value

NpgsqlLogSequenceNumber

### OutputPlugin

The name of the output plugin used by the newly-created logical replication slot.

    public string OutputPlugin { get; }

#### Property Value

string

### SnapshotName

The identifier of the snapshot exported by the command. The snapshot is valid until a new command is executed on this connection or the replication connection is closed.

    public string? SnapshotName { get; }

#### Property Value

string