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
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also