GetSqlServerVersionName méthode

Gets the version name of the instance of SQL Server with which the object is associated.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Protected Function GetSqlServerVersionName As String
'Utilisation
Dim returnValue As String

returnValue = Me.GetSqlServerVersionName()
protected string GetSqlServerVersionName()
protected:
String^ GetSqlServerVersionName()
member GetSqlServerVersionName : unit -> string 
protected function GetSqlServerVersionName() : String

Valeur de retour

Type : System. . :: . .String
A String value that specifies the version name of the instance of SQL Server.