SyncNow Method in Class SMS_SoftwareUpdate
The SyncNow
Windows Management Instrumentation (WMI) class method, in Configuration Manager, performs a manual synchronization of the Software Update Point.
The following syntax is simplified from Managed Object Format (MOF) code and defines the method.
Syntax
SInt32 SyncNow(
Boolean fullSync
);
Parameters
fullSync
Data type: Boolean
Qualifiers: [in]
true
if a full sync should be performed. The default value is false
.
This information applies to System Center 2012 Configuration Manager SP1 or later, and System Center 2012 R2 Configuration Manager or later.
Return Values
An SInt32
data type that is 0 to indicate success or non-zero to indicate failure.
For 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.