This method disconnects the specified event sink object from RepVB. The event sink object will not be sent any more component-related events.
Call object.DisconnectComponentEvents( connection )
The DisconnectComponentEvents method has these parts:
Part | Description |
object | The variable name of the RepVB object. |
connection | The connection number for the event sink object that is to be disconnected from component-related events. |