DacExternalQueryScopes 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 DacExternalQueryScopes
'Usage
Dim instance As DacExternalQueryScopes
[FlagsAttribute]
public enum DacExternalQueryScopes
[FlagsAttribute]
public enum class DacExternalQueryScopes
[<FlagsAttribute>]
type DacExternalQueryScopes
public enum DacExternalQueryScopes

Members

Member name Description
All All elements in the model, including references to external elements.
BuiltIn Query built in system objects
Default Default query scope is to query both UserDefined and BuiltIn query scopes
DifferentDatabaseDifferentServer Query references to external objects that are from a different database on a different same server.
DifferentDatabaseSameServer Query references to external objects that are from a different database on the same server.
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