Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 1.84 KB

syncnow-method-in-class-sms_softwareupdate.md

File metadata and controls

55 lines (40 loc) · 1.84 KB
description title titleSuffix ms.date ms.subservice ms.service ms.topic ms.assetid author ms.author manager ms.localizationpriority ms.collection
Learn how to perform a manual synchronization of the Software Update Point using SyncNow class method.
SyncNow Method
Configuration Manager
09/20/2016
sdk
configuration-manager
reference
1784de36-fad1-4f10-b280-19d828003dba
banreet
banreetkaur
apoorvseth
low
tier3

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.

See Also

SMS_SoftwareUpdate Server WMI Class