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
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.