Freigeben über


SqlSmoObject.GetSqlServerVersionName-Methode

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Protected Function GetSqlServerVersionName As String
'Usage
Dim returnValue As String 

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

Rückgabewert

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

Beispiele

Aufrufen von Methoden

Siehe auch

Verweis

SqlSmoObject Klasse

Microsoft.SqlServer.Management.Smo-Namespace