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>

Property Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<IDatabase>
The IMetadataCollection<T> of IServerDdlTrigger that contains the databases on the server.

See Also

Reference

IServer Interface

Microsoft.SqlServer.Management.SqlParser.Metadata Namespace