ConnectionManager.InUse Property
SQL Server 2012
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)