次の方法で共有


SPGlobalAdmin.Version property

NOTE: This API is now obsolete.

Obsolete. In Windows SharePoint Services 2.0, the Version property got the version of SharePoint Foundation that is installed in the deployment, and is maintained for backward compatibility.

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

Syntax

'Declaration
<ObsoleteAttribute("Most of the functionality in this class is available in SPFarm or SPWebService.",  _
    False)> _
Public ReadOnly Property Version As Version
    Get
'Usage
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
A System.Version object that specifies the version of SharePoint Foundation.

See also

Reference

SPGlobalAdmin class

SPGlobalAdmin members

Microsoft.SharePoint.Administration namespace