共用方式為


SPContentDatabase.WebApplication property

會取得使用的內容資料庫的 Web 應用程式。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public ReadOnly Property WebApplication As SPWebApplication
    Get
'用途
Dim instance As SPContentDatabase
Dim value As SPWebApplication

value = instance.WebApplication
public SPWebApplication WebApplication { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPWebApplication
SPWebApplication 物件,代表 Web 應用程式。

請參閱

參照

SPContentDatabase class

SPContentDatabase members

Microsoft.SharePoint.Administration namespace