Compartir a través de


InUse Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Common
Ensamblado:  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxis

'Declaración
Public Property InUse As Boolean
    Get
    Set
'Uso
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)

Valor de la propiedad

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