Connection.Deactivated Property

Definition

Gets a value indicating whether the connection has been deactivated.

public:
 property bool Deactivated { bool get(); };
public bool Deactivated { get; }
member this.Deactivated : bool
Public ReadOnly Property Deactivated As Boolean

Property Value

true if the connection has been deactivated; otherwise, false.

Examples

public string DeactivatedStr(IServiceProvider sp) {

    Connection con = (Connection)sp.GetService(typeof(Connection));
    return con.Deactivated.ToString();
}

Applies to