Share via


TSqlModelSchema.TopLevelTypes Property

All top level types supported in the model. These are the only types that can be queried for via the GetObject(ModelTypeClass, ObjectIdentifier, DacQueryScopes) and GetObjects(DacQueryScopes, array<ModelTypeClass[]) API calls.

Namespace:  Microsoft.SqlServer.Dac.Model
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

Syntax

'Declaration
Public ReadOnly Property TopLevelTypes As IEnumerable(Of ModelTypeClass)
    Get
'Usage
Dim instance As TSqlModelSchema 
Dim value As IEnumerable(Of ModelTypeClass)

value = instance.TopLevelTypes
public IEnumerable<ModelTypeClass> TopLevelTypes { get; }
public:
property IEnumerable<ModelTypeClass^>^ TopLevelTypes {
    IEnumerable<ModelTypeClass^>^ get ();
}
member TopLevelTypes : IEnumerable<ModelTypeClass>
function get TopLevelTypes () : IEnumerable<ModelTypeClass>

Property Value

Type: System.Collections.Generic.IEnumerable<ModelTypeClass>

See Also

Reference

TSqlModelSchema Class

Microsoft.SqlServer.Dac.Model Namespace