DacQueryScopes Enum

Definition

Defines the type of objects to query from the model.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum DacQueryScopes
[<System.Flags>]
type DacQueryScopes = 
Public Enum DacQueryScopes
Inheritance
DacQueryScopes
Attributes

Fields

Name Value Description
None 0

Filter out all elements.

UserDefined 1

Query user defined objects.

BuiltIn 2

Query built in system objects

Default 3

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

SameDatabase 4

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

System 8

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

All 15

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

Applies to