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)
Available in Sandboxed Solutions: No

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