Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the Web application that uses the content database.
Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property WebApplication As SPWebApplication
    Get
    Friend Set
'Usage
Dim instance As SPContentDatabase
Dim value As SPWebApplication
value = instance.WebApplication
public SPWebApplication WebApplication { get; internal set; }
Property value
Type: Microsoft.SharePoint.Administration.SPWebApplication
An SPWebApplication object that represents the Web application.