Share via


SPSiteInventoryUsageEntry.SetMetric method

NOTE: This API is now obsolete.

Sets the given site metric with data contained by the [System.Object] parameter.

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 Sub SetMetric ( _
    metric As SPSiteInventoryUsageEntry.SiteMetric, _
    value As Object _
)
'Usage
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
)

Parameters

See also

Reference

SPSiteInventoryUsageEntry class

SPSiteInventoryUsageEntry members

Microsoft.SharePoint.Administration namespace