Share via


IServer.Databases Property

Gets the collection of databases on the server.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
ReadOnly Property Databases As IMetadataCollection(Of IDatabase)
    Get
'Usage
Dim instance As IServer
Dim value As IMetadataCollection(Of IDatabase)

value = instance.Databases
IMetadataCollection<IDatabase> Databases { get; }
property IMetadataCollection<IDatabase^>^ Databases {
    IMetadataCollection<IDatabase^>^ get ();
}
abstract Databases : IMetadataCollection<IDatabase>
function get Databases () : IMetadataCollection<IDatabase>