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 حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.