Partilhar via


ConnectionManagerBase.RefreshScf Method

Refreshes the site control file.

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

Usage

'Usage
Dim instance As ConnectionManagerBase
Dim siteCode As String

instance.RefreshScf(siteCode)

Syntax

'Declaration
Public MustOverride Sub RefreshScf ( _
    siteCode As String _
)
public abstract void RefreshScf (
    string siteCode
)
public:
virtual void RefreshScf (
    String^ siteCode
) abstract
public abstract void RefreshScf (
    String siteCode
)
public abstract function RefreshScf (
    siteCode : String
)

Parameters

  • siteCode
    [in] Site code of the site for which to refresh the site control file.

Remarks

This method is called automatically when AutoCommit is set to true (default).

The RefreshSCF Method in Class SMS_SiteControlFile method updates the in-memory copy of the site control file (SCF) from the database.

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