DacQueryScopes Enumeration

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)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration DacQueryScopes
'Usage
Dim instance As DacQueryScopes
[FlagsAttribute]
public enum DacQueryScopes
[FlagsAttribute]
public enum class DacQueryScopes
[<FlagsAttribute>]
type DacQueryScopes
public enum DacQueryScopes

Members

Member name Description
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.

See Also

Reference

Microsoft.SqlServer.Dac.Model Namespace