dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlDependency Class / PgSqlDependency Constructor / PgSqlDependency Constructor(PgSqlCommand,Int32)
The PgSqlCommand object to associate with this PgSqlDependency object.
A positive integer that represents server check interval in milliseconds. The default value is 30000 (30 seconds).

PgSqlDependency Constructor(PgSqlCommand,Int32)
Creates a new instance of the PgSqlDependency class, associates it with the PgSqlCommand parameter, and specifies a timeout value.
Syntax
'Declaration
 
Public Function New( _
   ByVal command As PgSqlCommand, _
   ByVal checkTimeout As Integer _
)
 

Parameters

command
The PgSqlCommand object to associate with this PgSqlDependency object.
checkTimeout
A positive integer that represents server check interval in milliseconds. The default value is 30000 (30 seconds).
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