SetSummarizationSettings Method in Class SMS_SummarizationSettings
Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager
In System Center 2012 R2 Configuration Manager, the SetSummarizationSettings Windows Management Instrumentation (WMI) class method sets the summarization schedule.
The following syntax is simplified from Managed Object Format (MOF) code and is intended to show the definition of the method.
Syntax
sint32 SetSummarizationSettings(
string SiteCode,
uint32 SummarizationType,
uint32 FirstIntervalMins,
uint32 SecondIntervalMins,
uint32 ThirdIntervalMins
);
Parameters
SiteCode
Data type: StringQualifiers: [in]
The site code of the site associated with the summarization settings.
SummarizationType
Data type: UInt32Qualifiers: [in]
Types of summarization. Possible values are:
2
Application Deployment Summarization
3
Application State Summarization (spans all previous and current deployments)
FirstIntervalMins
Data type: UInt32Qualifiers: [out]
The interval in minutes between summarizations for deployments that have a start date within 30 days (for deployment summarizations) or applications that have been created in the last 30 days (for application state summarization).
SecondIntervalMins
Data type: UInt32Qualifiers: [out]
The interval in minutes between summarizations for deployments that have a start date within the last 30-90 days (for deployment summarizations) or applications that have been created within the last 30-90 days (for application state summarization).
ThirdIntervalMins
Data type: UInt32Qualifiers: [out]
The interval in minutes between summarizations for deployments that have a start date over 90 days (for deployment summarizations) or applications that have been created over 90 days ago (for application state summarization).
Return Values
An SInt32 data type that is 0 to indicate success or non-zero to indicate failure.
For more information about handling returned errors, see About Configuration Manager Errors.
Requirements
Runtime Requirements
For more information, see Configuration Manager Server Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Server Development Requirements.