Share via


SPVirtualServer.Version property

NOTE: This API is now obsolete.

Obsolete. Gets the version of SharePoint Foundation that is installed on the virtual server.

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

Syntax

'Declaration
<ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.",  _
    False)> _
Public ReadOnly Property Version As Version
    Get
'Usage
Dim instance As SPVirtualServer
Dim value As Version

value = instance.Version
[ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.", 
    false)]
public Version Version { get; }

Property value

Type: System.Version
A System.Version object that represents the version.

See also

Reference

SPVirtualServer class

SPVirtualServer members

Microsoft.SharePoint.Administration namespace