Commits site control file changes. Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

Visual Basic
Dim instance As ConnectionManagerBase
Dim siteCode As String

instance.CommitSiteControlFileUpdates(siteCode)

Syntax

Visual Basic
Public MustOverride Sub CommitSiteControlFileUpdates ( _
		siteCode As String _
)
C#
public abstract void CommitSiteControlFileUpdates (
		string siteCode
)
C++
public:
virtual void CommitSiteControlFileUpdates (
		String^ siteCode
) abstract
J#
public abstract void CommitSiteControlFileUpdates (
		String siteCode
)
JScript
public abstract function CommitSiteControlFileUpdates (
		siteCode : String
)

Parameters

siteCode

[in] Site code of the site for which to commit site control file updates.

Remarks

This method is used most often when AutoCommit is set to false and the application must commit changes.

The Configuration Manager site control file is represented by SMS_SiteControlFile Server WMI Class. This class defines a CommitSCF Method in Class SMS_SiteControlFile method that is used to commit any site control file changes.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also