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
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.