次の方法で共有


SPVirtualServer.ContentDatabases property

NOTE: This API is now obsolete.

Obsolete. Gets the collection of content databases on the virtual server.

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

Syntax

'Declaration
<ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.",  _
    False)> _
Public ReadOnly Property ContentDatabases As SPContentDatabaseCollection
    Get
'Usage
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
An SPContentDatabaseCollection object that represents the content databases.

See also

Reference

SPVirtualServer class

SPVirtualServer members

Microsoft.SharePoint.Administration namespace