Changes the default number of days to keep error groups and managed entities in the database. Namespace: Microsoft.EnterpriseManagement.Monitoring.ClientMonitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As ClientMonitoringSettings
Dim mgmtServer As ManagementServer
Dim days As Integer

instance.ChangeGroomPeriod(mgmtServer, days)

Syntax

Visual Basic
Public Sub ChangeGroomPeriod ( _
		mgmtServer As ManagementServer, _
		days As Integer _
)
C#
public void ChangeGroomPeriod (
		ManagementServer mgmtServer,
		int days
)
C++
public:
void ChangeGroomPeriod (
		ManagementServer^ mgmtServer, 
		int days
)
J#
public void ChangeGroomPeriod (
		ManagementServer mgmtServer, 
		int days
)
JScript
public function ChangeGroomPeriod (
		mgmtServer : ManagementServer, 
		days : int
)

Parameters

mgmtServer

The Management Server where the database is located.

days

The number of days to keep error groups and managed entities in the database.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also