SPVirtualServer.WebApplication property
NOTE: This API is now obsolete.
Obsolete. Gets the Web application associated with 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 WebApplication As SPWebApplication
Get
'Usage
Dim instance As SPVirtualServer
Dim value As SPWebApplication
value = instance.WebApplication
[ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.",
false)]
public SPWebApplication WebApplication { get; }
Property value
Type: Microsoft.SharePoint.Administration.SPWebApplication
An SPWebApplication object.