Condividi tramite


Proprietà ConnectionManager.InUse

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

Spazio dei nomi  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Sintassi

'Dichiarazione
Public Property InUse As Boolean 
    Get 
    Set
'Utilizzo
Dim instance As ConnectionManager 
Dim value As Boolean 

value = instance.InUse

instance.InUse = value
public bool InUse { get; set; }
public:
property bool InUse {
    bool get ();
    void set (bool value);
}
member InUse : bool with get, set
function get InUse () : boolean 
function set InUse (value : boolean)

Valore proprietà

Tipo: System.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.

Vedere anche

Riferimento

ConnectionManager Classe

Spazio dei nomi Microsoft.SqlServer.Management.Common