dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlDump Class / ObjectTypes Property
Example

In This Topic
    ObjectTypes Property
    In This Topic
    Gets or sets a value that indicates which objects will be included in the dump.
    Syntax
    'Declaration
     
    Public Property ObjectTypes As PgSqlDumpObjects
    public PgSqlDumpObjects ObjectTypes {get; set;}

    Property Value

    A combination of PgSqlDumpObjects values.
    Example
    Here is how you can configure PgSqlDump to dump only schemas, tables, and views:
    pgSqlDump.ObjectTypes = PgSqlDumpObjects.Schemas | PgSqlDumpObjects.Tables | PgSqlDumpObjects.Views;
    pgSqlDump.ObjectTypes = PgSqlDumpObjects.Schemas Or PgSqlDumpObjects.Tables Or PgSqlDumpObjects.Views
    See Also