DacQueryScopes Enumeration

 

Updated: April 20, 2017

Defines the type of objects to query from the model.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

[FlagsAttribute]
public enum DacQueryScopes

Member nameDescription
All

All elements in the model, not including references to external elements in non-system databases.

BuiltIn

Query built in system objects

Default

Default query scope is to query both UserDefined and BuiltIn query scopes

None

Filter out all elements.

SameDatabase

Query user defined objects from referenced models where the referenced model is for the same database.

System

Query System objects that are not treated as built in. These are objects that appear when the master database is referenced

UserDefined

Query user defined objects.

Return to top

Community Additions

ADD
Show: