Share via


IDatabase.Schemas Property

Gets a collection of all schemas in the database.

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

Syntax

'Declaration
ReadOnly Property Schemas As IMetadataCollection(Of ISchema)
    Get
'Usage
Dim instance As IDatabase
Dim value As IMetadataCollection(Of ISchema)

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

Property Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<ISchema>
The IMetadataCollection<T> of ISchema that contains all schemas in the database.