Applies To: Operations Manager for System Center 2012
Determines whether SQM is enabled on a given Management Server.
Namespace:   Microsoft.EnterpriseManagement.Monitoring.ClientMonitoring
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
public bool IsSqmEnabled(
    ManagementServer mgmtServer
)
public:
bool IsSqmEnabled(
    ManagementServer^ mgmtServer
)
member IsSqmEnabled : 
        mgmtServer:ManagementServer -> bool
Public Function IsSqmEnabled (
    mgmtServer As ManagementServer
) As Boolean
Parameters
- mgmtServer 
 Type: Microsoft.EnterpriseManagement.Administration.ManagementServer- The name of the Management Server to check whether SQM is enabled on. 
Return Value
Type: System.Boolean
Returns a Boolean that gives true if SQM is enabled on the Management Server; otherwise, false. .
See Also
ClientMonitoringSettings Class
Microsoft.EnterpriseManagement.Monitoring.ClientMonitoring Namespace
Return to top