dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlDependency Class / MySqlDependency Constructor / MySqlDependency Constructor(MySqlCommand,Int32,MySqlDependencyCheckType)
The MySqlCommand object to watch for.
The interval between two consequent checks in milliseconds.
The check method to use for checking tables for changes. See MySqlDependencyCheckType for more details.

In This Topic
MySqlDependency Constructor(MySqlCommand,Int32,MySqlDependencyCheckType)
In This Topic
Initializes a new instance of the MySqlDependency class with a MySqlCommand object and timeout interval and specifies the check method to use for checking tables for changes.
Syntax
'Declaration
 
Public Function New( _
   ByVal command As MySqlCommand, _
   ByVal timeout As Integer, _
   ByVal checkType As MySqlDependencyCheckType _
)
 

Parameters

command
The MySqlCommand object to watch for.
timeout
The interval between two consequent checks in milliseconds.
checkType
The check method to use for checking tables for changes. See MySqlDependencyCheckType for more details.
See Also