IVsDataConnection.CurrentThreadHasLock Property
Gets a value indicating whether the current thread has a lock on the data connection object.
Namespace: Microsoft.VisualStudio.Data.Services
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Déclaration
ReadOnly Property CurrentThreadHasLock As Boolean
Get
bool CurrentThreadHasLock { get; }
property bool CurrentThreadHasLock {
bool get ();
}
abstract CurrentThreadHasLock : bool
function get CurrentThreadHasLock () : boolean
Property Value
Type: System.Boolean
true if the current thread has a lock on the data connection object; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.