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();
}
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for