Partilhar via


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)
Available in Sandboxed Solutions: No

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