共用方式為


VersionConstants 類別

附註:此 API 目前已過時。

包含已安裝的版本、 組建、 及修訂編號的 Project Server。

繼承階層架構

System.Object
  Microsoft.Office.Project.Server.Library.VersionConstants

命名空間:  Microsoft.Office.Project.Server.Library
組件:  Microsoft.Office.Project.Server.Library (在 Microsoft.Office.Project.Server.Library.dll 中)

語法

'宣告
<ObsoleteAttribute("The VersionConstants class is deprecated.  The information within is available by using the AssemblyName class.")> _
Public NotInheritable Class VersionConstants
'用途
Dim instance As VersionConstants
[ObsoleteAttribute("The VersionConstants class is deprecated.  The information within is available by using the AssemblyName class.")]
public sealed class VersionConstants

備註

若要取得已安裝的版本、 建置和修訂數字,您也可以使用ReadServerVersion()方法。

執行緒安全

這類型的任何公用 static (共用 於 Visual Basic 中) 成員是安全執行緒。不保證任何執行個體成員都是安全執行緒。

請參閱

參照

VersionConstants 成員

Microsoft.Office.Project.Server.Library 命名空間