InstancePersistenceCommand.AutomaticallyAcquiringLock 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.
Indicates whether the command could attempt to acquire a lock on the instance.
protected public:
virtual property bool AutomaticallyAcquiringLock { bool get(); };
protected internal virtual bool AutomaticallyAcquiringLock { get; }
member this.AutomaticallyAcquiringLock : bool
Protected Friend Overridable ReadOnly Property AutomaticallyAcquiringLock As Boolean
Property Value
true
if the command acquires a lock on the instance;, otherwise false
. The default is 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.