Connection.Deactivated Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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();
}