dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlDependency Class / AddCommandDependency Method
A PgSqlCommand object containing a statement that is valid for notifications.

In This Topic
    AddCommandDependency Method
    In This Topic
    Associates a PgSqlCommand object with this PgSqlDependency instance.
    Syntax
    'Declaration
     
    Public Sub AddCommandDependency( _
       ByVal command As PgSqlCommand _
    ) 
    public void AddCommandDependency( 
       PgSqlCommand command
    )

    Parameters

    command
    A PgSqlCommand object containing a statement that is valid for notifications.
    Remarks
    You can attach more than one PgSqlCommand object to PgSqlDependency.
    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