SPSiteInventoryUsageEntry.GetMetric 方法

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

检索为此使用项的**[Microsoft.SharePoint.Administration.SPSiteInventoryUsageEntry.SiteMetric]**对象。

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

语法

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

returnValue = instance.GetMetric(metric)
[ObsoleteAttribute("Site inventory collection is no longer necessary for the new analytics platform.")]
public Object GetMetric(
    SPSiteInventoryUsageEntry.SiteMetric metric
)

参数

返回值

类型:System.Object
String方法表示的度量数据的Object .

另请参阅

引用

SPSiteInventoryUsageEntry 类

SPSiteInventoryUsageEntry 成员

Microsoft.SharePoint.Administration 命名空间