Share via


DataConnection.UnlockProviderObject Method

Unlocks a DDEX Provider object that has been locked using a call to the GetLockedProviderObjectmethod.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Public MustOverride Sub UnlockProviderObject
public abstract void UnlockProviderObject()
public:
virtual void UnlockProviderObject() abstract
abstract UnlockProviderObject : unit -> unit
public abstract function UnlockProviderObject()

Exceptions

Exception Condition
SynchronizationLockException

Access to this connection is not currently exclusive, or this thread is not the owner of the current exclusive access, or this object is not the current exclusive access proxy being used to access the connection.

.NET Framework Security

See Also

Reference

DataConnection Class

Microsoft.VisualStudio.Data Namespace