InstancePersistenceCommand.AutomaticallyAcquiringLock Property
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Indicates whether the command acquires a lock on the instance.
Namespace: System.Runtime.Persistence
Assembly: System.Runtime (in System.Runtime.dll)
Syntax
'Declaration
Protected Friend Overridable ReadOnly Property AutomaticallyAcquiringLock As Boolean
Get
'Usage
Dim value As Boolean
value = Me.AutomaticallyAcquiringLock
protected internal virtual bool AutomaticallyAcquiringLock { get; }
protected public:
virtual property bool AutomaticallyAcquiringLock {
bool get ();
}
abstract AutomaticallyAcquiringLock : bool
override AutomaticallyAcquiringLock : bool
Property Value
Type: System.Boolean
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.
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 4
.NET Framework Client Profile
Supported in: 4
See Also
Reference
InstancePersistenceCommand Class