共用方式為


SPWebApplication.ContentDatabases property

取得可用的 Web 應用程式的內容資料庫的集合。

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

Syntax

'宣告
Public ReadOnly Property ContentDatabases As SPContentDatabaseCollection
    Get
'用途
Dim instance As SPWebApplication
Dim value As SPContentDatabaseCollection

value = instance.ContentDatabases
public SPContentDatabaseCollection ContentDatabases { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPContentDatabaseCollection
SPContentDatabaseCollection 物件,代表集合的內容資料庫。

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace