共用方式為


SPGlobalAdmin.RefreshConfigCache Method (Guid, Boolean)

NOTE: This API is now obsolete.

The configuration cache is now refreshed automatically by the timer service. (In Windows SharePoint Services 2.0 the RefreshConfigCache method refreshed the configuration cache based on the specified virtual server and on a Boolean value that indicated whether the SharePoint administrators group account had changed, and is maintained for backward compatibility.)

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("SPGlobalAdmin.RefreshConfigCache() is obsolete.  The configuration cache is now refreshed automatically by the timer service.",  _
    False)> _
Public Sub RefreshConfigCache ( _
    guidVirtualServerId As Guid, _
    bAdminGroupChanged As Boolean _
)
'Usage
Dim instance As SPGlobalAdmin
Dim guidVirtualServerId As Guid
Dim bAdminGroupChanged As Boolean

instance.RefreshConfigCache(guidVirtualServerId, _
    bAdminGroupChanged)
[ObsoleteAttribute("SPGlobalAdmin.RefreshConfigCache() is obsolete.  The configuration cache is now refreshed automatically by the timer service.", 
    false)]
public void RefreshConfigCache(
    Guid guidVirtualServerId,
    bool bAdminGroupChanged
)

Parameters

  • guidVirtualServerId
    Type: System.Guid

    A System.Guid that specifies the virtual server.

  • bAdminGroupChanged
    Type: System.Boolean

    true to indicate that the SharePoint administrators group account is changed; otherwise, false.

See Also

Reference

SPGlobalAdmin Class

SPGlobalAdmin Members

RefreshConfigCache Overload

Microsoft.SharePoint.Administration Namespace