InstancePersistenceCommand.IsTransactionEnlistmentOptional Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a value that indicates whether the persistence provider may choose not to enlist in the ambient transaction (Transaction.Current) when executing this command.
protected public:
virtual property bool IsTransactionEnlistmentOptional { bool get(); };
protected internal virtual bool IsTransactionEnlistmentOptional { get; }
member this.IsTransactionEnlistmentOptional : bool
Protected Friend Overridable ReadOnly Property IsTransactionEnlistmentOptional As Boolean
Property Value
true
if enlisting in the transaction is optional for this command, otherwise false
.
Remarks
The command classes that derive from this class can override this property to set it to true
.