Releases an existing exclusive access proxy, as provided with a call to the GetExclusiveAccessProxy method.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'宣言
Public MustOverride Sub ReleaseExclusiveAccessProxy
'使用
Dim instance As DataConnection
instance.ReleaseExclusiveAccessProxy()
public abstract void ReleaseExclusiveAccessProxy()
public:
virtual void ReleaseExclusiveAccessProxy() abstract
public abstract function ReleaseExclusiveAccessProxy()
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. |
Remarks
This method must be called on the exclusive access proxy object that was originally created with a call to the GetExclusiveAccessProxy method.
Permissions
- 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.