SPSiteInventoryCollectionJobDefinition.ProcessSite 方法
请注意:此 API 现在已过时。
如果使用率日志记录或网站库存提供程序处于禁用状态,清除作业的状态,并执行站点的库存日志记录停止的所有工作。收集并记录站点级别和 web 级别数据。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<ObsoleteAttribute("Site inventory collection is no longer necessary for the new analytics platform.")> _
Public Overrides Sub ProcessSite ( _
site As SPSite, _
jobState As SPJobState _
)
用法
Dim instance As SPSiteInventoryCollectionJobDefinition
Dim site As SPSite
Dim jobState As SPJobState
instance.ProcessSite(site, jobState)
[ObsoleteAttribute("Site inventory collection is no longer necessary for the new analytics platform.")]
public override void ProcessSite(
SPSite site,
SPJobState jobState
)
参数
- site
类型:Microsoft.SharePoint.SPSite
jobState
类型:Microsoft.SharePoint.Administration.SPJobState**[Microsoft.SharePoint.Administration.SPJobState]**对象提供了对暂停作业时将保存的属性的访问。
另请参阅
引用
SPSiteInventoryCollectionJobDefinition 类