Share via


SPSiteInventoryUsageEntry.GetMetric method

NOTE: This API is now obsolete.

Retrieves the [Microsoft.SharePoint.Administration.SPSiteInventoryUsageEntry.SiteMetric] object for this usage entry.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<ObsoleteAttribute("Site inventory collection is no longer necessary for the new analytics platform.")> _
Public Function GetMetric ( _
    metric As SPSiteInventoryUsageEntry.SiteMetric _
) As Object
'Usage
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
)

Parameters

Return value

Type: System.Object
A Object with a String representation of the metric data..

See also

Reference

SPSiteInventoryUsageEntry class

SPSiteInventoryUsageEntry members

Microsoft.SharePoint.Administration namespace