DisableEventByRef
Purpose
This function marks an event as disabled. All triggers are suspended until the event is re-enabled.
Parameters
Parameter: evref
Type: long (.NET Integer)
Description: This is the event reference ID of the event to be disabled.
Returns
None
Example
Sample Code
VB
sub main()
dim eref
eref = hs.GetEventRefByName("My Event")
hs.DisableEventByRef eref
end sub