Partilhar via


ConnectionManagerBase.CommitSiteControlFileUpdates Method

Commits site control file changes.

Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

'Usage
Dim instance As ConnectionManagerBase
Dim siteCode As String

instance.CommitSiteControlFileUpdates(siteCode)

Syntax

'Declaration
Public MustOverride Sub CommitSiteControlFileUpdates ( _
    siteCode As String _
)
public abstract void CommitSiteControlFileUpdates (
    string siteCode
)
public:
virtual void CommitSiteControlFileUpdates (
    String^ siteCode
) abstract
public abstract void CommitSiteControlFileUpdates (
    String siteCode
)
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

Reference

ConnectionManagerBase Class
ConnectionManagerBase Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace
AutoCommit

Other Resources

SMS_SiteControlFile Server WMI Class
CommitSCF Method in Class SMS_SiteControlFile