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
'Declaration
ReadOnly Property CurrentThreadHasLock As Boolean
'Usage
Dim instance As IVsDataConnection
Dim value As Boolean
value = instance.CurrentThreadHasLock
bool CurrentThreadHasLock { get; }
property bool CurrentThreadHasLock {
bool get ();
}
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.