ConnectionManager.InUse Property

Gets or sets the Boolean property value that specifies whether the connection is being used.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

public bool InUse { get; set; }

Property Value

Type: Boolean
A Boolean object value that specifies whether the connection is in use.If True, the connection is in use.If False (default), the connection is not in use.

Community Additions

Show: