Condividi tramite


SPContentDatabase.WebApplication Property

Gets the Web application that uses the content database.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property WebApplication As SPWebApplication
    Get
'Usage
Dim instance As SPContentDatabase
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.

See Also

Reference

SPContentDatabase Class

SPContentDatabase Members

Microsoft.SharePoint.Administration Namespace