Freigeben über


DataConnection.ReleaseExclusiveAccessProxy Method

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

'Declaration
Public MustOverride Sub ReleaseExclusiveAccessProxy
public abstract void ReleaseExclusiveAccessProxy()
public:
virtual void ReleaseExclusiveAccessProxy() abstract
abstract ReleaseExclusiveAccessProxy : unit -> unit 
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.

.NET Framework Security

See Also

Reference

DataConnection Class

Microsoft.VisualStudio.Data Namespace