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
.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.