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

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

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