The RefreshSCF Windows Management Instrumentation (WMI) class method, in Configuration Manager, updates the in-memory copy of the site control file (SCF) from the database.

The following syntax is simplified from Managed Object Format (MOF) code and is intended to show the definition of the method.

SInt32 RefreshSCF(
   String SiteCode



Data type: StringQualifiers: [in, SizeLimit("3")]The code for the site from which you are refreshing the in-memory copy of the site control file.

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.


The RefreshSCF method updates the in-memory copy of the site control file with any changes that have been made to the actual site control file. Refreshing the copy of this file helps ensure that your application is working with the most up-to-date copy of the site control file. Because other applications, including Configuration Manager, can change the site control file, your application should use RefreshSCF frequently.

Changes might be immediately applied when they are committed and the application immediately calls RefreshSCF, due to possible delays in the commit process. Also, changes might be overridden by another application during the period when your application committed data and refreshed the copy of the site control file.


Runtime Requirements

Development Requirements

See Also

Send comments about this topic to Microsoft.