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
)
参数
metric
类型:Microsoft.SharePoint.Administration.SPSiteInventoryUsageEntry.SiteMetric**[Microsoft.SharePoint.Administration.SPSiteInventoryUsageEntry.SiteMetric]**枚举器对象。可能的值为Template、 Version、 Language和ListTemplates。
返回值
类型:System.Object
用String方法表示的度量数据的Object .