共用方式為


SPVirtualServer.ContentDatabases property

NOTE: This API is now obsolete.

已過時。取得虛擬伺服器的內容資料庫集合。

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

Syntax

'宣告
<ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.",  _
    False)> _
Public ReadOnly Property ContentDatabases As SPContentDatabaseCollection
    Get
'用途
Dim instance As SPVirtualServer
Dim value As SPContentDatabaseCollection

value = instance.ContentDatabases
[ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.", 
    false)]
public SPContentDatabaseCollection ContentDatabases { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPContentDatabaseCollection
表示將內容資料庫的SPContentDatabaseCollection物件。

請參閱

參照

SPVirtualServer class

SPVirtualServer members

Microsoft.SharePoint.Administration namespace