ConnectionManager.ServerVersion 屬性

定義

回傳 SQL Server 的主要版本號。 例如 8 for SQL Server 2000。 例外:ConnectionFailureException

public Microsoft.SqlServer.Management.Common.ServerVersion ServerVersion { get; set; }
member this.ServerVersion : Microsoft.SqlServer.Management.Common.ServerVersion with get, set
Public Property ServerVersion As ServerVersion

屬性值

適用於