共用方式為


SqlSmoObject.GetSqlServerVersionName Method

Definition

Gets the sqlserver public name for the current connection, e.g: will transfer "SQLTOOLS2008-2" to "SQL Server 2008".

public string GetSqlServerVersionName ();
member this.GetSqlServerVersionName : unit -> string
Public Function GetSqlServerVersionName () As String

Returns

Applies to