Use the ICISite interface BanIPOnDOS property to determine if the server will automatically ban connections from an IP address that has sent too many consecutive invalid commands. Use the same property to enable or disable automatic bans.
Signature:
HRESULT BanIPOnDOS([out, retval] VARIANT_BOOL *pVal);
HRESULT BanIPOnDOS([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.