ConnectionInfoBase.ServerVersion Property
Gets or sets the version information about the instance of SQL Server.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Syntax
'Declaration
Public Property ServerVersion As ServerVersion
Get
Set
'Usage
Dim instance As ConnectionInfoBase
Dim value As ServerVersion
value = instance.ServerVersion
instance.ServerVersion = value
public ServerVersion ServerVersion { get; set; }
public:
property ServerVersion^ ServerVersion {
ServerVersion^ get ();
void set (ServerVersion^ value);
}
member ServerVersion : ServerVersion with get, set
function get ServerVersion () : ServerVersion
function set ServerVersion (value : ServerVersion)
Property Value
Type: Microsoft.SqlServer.Management.Common.ServerVersion
A ServerVersion system object value that specifies the version information about the instance of SQL Server.