DbConnection.ServerVersion 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.
When overridden in a derived class, gets a string that represents the version of the server to which the object is connected.
public:
abstract property System::String ^ ServerVersion { System::String ^ get(); };
public abstract string ServerVersion { get; }
[System.ComponentModel.Browsable(false)]
public abstract string ServerVersion { get; }
member this.ServerVersion : string
[<System.ComponentModel.Browsable(false)>]
member this.ServerVersion : string
Public MustOverride ReadOnly Property ServerVersion As String
Property Value
The version of the database. The format of the string returned depends on the specific type of connection you are using.
- Attributes
Exceptions
ServerVersion was called while the returned Task was not completed and the connection was not opened after a call to OpenAsync.
Applies to
See also
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.