共用方式為


SPGlobalAdmin.Version property

NOTE: This API is now obsolete.

已過時。在Windows SharePoint Services 2.0, Version屬性 got SharePoint Foundation安裝在部署中,並維持回溯相容性的版本。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
<ObsoleteAttribute("Most of the functionality in this class is available in SPFarm or SPWebService.",  _
    False)> _
Public ReadOnly Property Version As Version
    Get
'用途
Dim instance As SPGlobalAdmin
Dim value As Version

value = instance.Version
[ObsoleteAttribute("Most of the functionality in this class is available in SPFarm or SPWebService.", 
    false)]
public Version Version { get; }

Property value

Type: System.Version
會指定SharePoint Foundation版本System.Version物件。

請參閱

參照

SPGlobalAdmin class

SPGlobalAdmin members

Microsoft.SharePoint.Administration namespace