EntityConnection.State 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 the ConnectionState property of the underlying provider if the EntityConnection is open. Otherwise, returns Closed.
public:
virtual property System::Data::ConnectionState State { System::Data::ConnectionState get(); };
public override System.Data.ConnectionState State { get; }
member this.State : System.Data.ConnectionState
Public Overrides ReadOnly Property State As ConnectionState
Property Value
Open, if and only if both the EntityConnection's internal state and the underlying provider's ConnectionState are open. If the EntityConnection's state is open but the provider's ConnectionState is closed, this property returns Broken. Otherwise, it returns Closed.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.