# Class TruncateMessage

Namespace
  Npgsql.Replication.PgOutput.Messages

Assembly
  Npgsql.dll

Logical Replication Protocol truncate message

    public sealed class TruncateMessage : TransactionalMessage

Inheritance
  object
  ReplicationMessage
  PgOutputReplicationMessage
  TransactionalMessage
  TruncateMessage

Inherited Members
  TransactionalMessage.TransactionXid
  PgOutputReplicationMessage.ToString()
  ReplicationMessage.WalStart
  ReplicationMessage.WalEnd
  ReplicationMessage.ServerClock
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.ReferenceEquals(object, object)

## Properties

### Options

Option flags for TRUNCATE

    public TruncateMessage.TruncateOptions Options { get; }

#### Property Value

TruncateMessage.TruncateOptions

### Relations

The relations being truncated.

    public IReadOnlyList<RelationMessage> Relations { get; }

#### Property Value

IReadOnlyList<RelationMessage>