DacExtractTarget Enum

Definition

Specifies the different extract targets when extracting a database.

C#
public enum DacExtractTarget
Inheritance
DacExtractTarget

Fields

Name Value Description
DacPac 0

Specifies no .sql files will be output, but a dacpac instead.

File 1

Specifies a single .sql file will be output.

Flat 2

Specifies .sql files for all database objects will be output to a single directory.

ObjectType 3

Specifies .sql files will be output into folders grouped by the database object type.

Schema 4

Specifies .sql files will be output into folders grouped by the database schema names.

SchemaObjectType 5

Specifies .sql files will be output into folders grouped by the database schema name and the database object type.

Applies to

產品 版本
Microsoft.SQLServer.DacFx 160.2004021.0, 161.6374.0, 162.2.111