SPIisWebSiteSequence.WebApplication Property
Gets the Web application that contains the SPIisWebSite object being upgraded.
Namespace: Microsoft.SharePoint.Upgrade
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property WebApplication As SPWebApplication
Get
'Usage
Dim instance As SPIisWebSiteSequence
Dim value As SPWebApplication
value = instance.WebApplication
public SPWebApplication WebApplication { get; }
Property Value
Type: Microsoft.SharePoint.Administration.SPWebApplication
An SPWebApplication object that represents the Web application.
Remarks
The TargetUpgradableObject attribute of this class is the SPIisWebSite object. Therefore the UpgradableObject property of this class must be an object of type SPIisWebSite or one of its derived class. The SPWebApplication object returned from this method is the parent of the object returned from the UpgradableObject property.