ServerVersion propriété
Gets the version of the connected instance of SQL Server.
Espace de noms : Microsoft.SqlServer.Management.Common
Assembly : Microsoft.SqlServer.ConnectionInfo (dans Microsoft.SqlServer.ConnectionInfo.dll)
Syntaxe
'Déclaration
Public ReadOnly Property ServerVersion As ServerVersion
Get
'Utilisation
Dim instance As ConnectionManager
Dim value As ServerVersion
value = instance.ServerVersion
public ServerVersion ServerVersion { get; }
public:
property ServerVersion^ ServerVersion {
ServerVersion^ get ();
}
member ServerVersion : ServerVersion
function get ServerVersion () : ServerVersion
Valeur de la propriété
Type : Microsoft.SqlServer.Management.Common. . :: . .ServerVersion
A ServerVersion object value that specifies the version of the connected instance of SQL Server.