Breyta

Deila með


DbConnection.ServerVersion Property

Definition

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