SPSiteInventoryUsageEntry.SetMetric 方法

请注意:此 API 现在已过时。

设置给定的站点跃点数由**[System.Object]**参数中包含的数据。

命名空间:  Microsoft.SharePoint.Administration
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
<ObsoleteAttribute("Site inventory collection is no longer necessary for the new analytics platform.")> _
Public Sub SetMetric ( _
    metric As SPSiteInventoryUsageEntry.SiteMetric, _
    value As Object _
)
用法
Dim instance As SPSiteInventoryUsageEntry
Dim metric As SPSiteInventoryUsageEntry.SiteMetric
Dim value As Object

instance.SetMetric(metric, value)
[ObsoleteAttribute("Site inventory collection is no longer necessary for the new analytics platform.")]
public void SetMetric(
    SPSiteInventoryUsageEntry.SiteMetric metric,
    Object value
)

参数

  • value
    类型:System.Object

    要分配到的站点跃点数的数据。

另请参阅

引用

SPSiteInventoryUsageEntry 类

SPSiteInventoryUsageEntry 成员

Microsoft.SharePoint.Administration 命名空间