Condividi tramite


Metodo GetSqlServerVersionName

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

Spazio dei nomi:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Protected Function GetSqlServerVersionName As String
'Utilizzo
Dim returnValue As String

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

Valore restituito

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