Share via


SyncNow Method in Class SMS_SoftwareUpdate

 

Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager

The SyncNow Windows Management Instrumentation (WMI) class method, in System Center 2012 R2 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.

See Also

SMS_SoftwareUpdate Server WMI Class