MstxMonitor.disable_domain

Function

def disable_domain(self, domain_name: str):

Function Description

Disables the profiling for a specific domain.

Input

domain_name: Name of the target domain.

You can call the API for multiple times to disable the profiling for multiple domains. By default, the profiling is enabled for all domains.

Return Value

MsptiResult.MSPTI_SUCCESS indicates a successful operation, while MsptiResult.MSPTI_ERROR_INVALID_PARAMETER indicates a failure caused by an empty domain_name.