SPGlobalAdmin.RefreshConfigCache 方法 (Guid, Boolean)
请注意:此 API 现在已过时。
配置缓存现在由定时服务自动刷新。( Windows SharePoint Services 2.0RefreshConfigCache方法刷新基于指定的虚拟服务器和一个布尔值,指示是否 SharePoint 管理员组帐户配置缓存已更改,并以保持向后兼容性。)
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<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 _
)
用法
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
)
参数
guidVirtualServerId
类型:System.Guid指定虚拟服务器System.Guid 。
bAdminGroupChanged
类型:System.Booleantrue以指示 SharePoint 管理员组帐户已更改 ;否则为false.