<PackageReference Include="System.Security.Permissions" Version="9.0.0-preview.4.24266.19" />

DistributedTransactionPermissionAttribute

Allows security actions for DistributedTransactionPermission to be applied to code using declarative security. This class cannot be inherited.
public bool Unrestricted { get; set; }

Gets or sets a value indicating whether full (unrestricted) permission to the resource protected by the attribute is declared.

Initializes a new instance of the DistributedTransactionPermissionAttribute class with the specified SecurityAction.