共用方式為


ProdVer 屬性

Gets the product version of SQL Server.

命名空間:  Microsoft.SqlServer.Management.Utility
組件:  Microsoft.SqlServer.Management.Utility (在 Microsoft.SqlServer.Management.Utility.dll 中)

語法

'宣告
Protected Shared ReadOnly Property ProdVer As String
    Get
'用途
Dim value As String

value = UtilityException.ProdVer
protected static string ProdVer { get; }
protected:
static property String^ ProdVer {
    String^ get ();
}
static member ProdVer : string
static function get ProdVer () : String

屬性值

型別:System. . :: . .String
A String value that specifies the product version.