Share via


DataConnection.IsLockedForExclusiveAccess Property

Retrieves a Boolean value indicating whether the current connection is locked by a client for exclusive access.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property IsLockedForExclusiveAccess As Boolean
public abstract bool IsLockedForExclusiveAccess { get; }
public:
virtual property bool IsLockedForExclusiveAccess {
    bool get () abstract;
}
abstract IsLockedForExclusiveAccess : bool with get
abstract function get IsLockedForExclusiveAccess () : boolean

Property Value

Type: System.Boolean
Returns true if the specified connection is locked for exclusive access; otherwise returns false.

Remarks

If a client has called the GetExclusiveAccessProxymethod, then this property becomes true until the same client calls ReleaseExclusiveAccessProxy.

.NET Framework Security

See Also

Reference

DataConnection Class

Microsoft.VisualStudio.Data Namespace