Use the ICISite interface DisconnectOnDOS property to determine if the Site will disconnect after a certain number consecutive invalid commands. Also use this property to enable or disable such disconnections.
HRESULT DisconnectOnDOS([out, retval] VARIANT_BOOL *pVal);
HRESULT DisconnectOnDOS([in] VARIANT_BOOL newVal);
True = Enabled
False = Disabled
Refer to Site Login Security and Anti-Flood/Hammer Settings for an illustration of how this and other ICISite properties can be accessed in the Administrator interface.