Partilhar via


SPSiteInventoryUsageEntry.SetMetric Method

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

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
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)
public void SetMetric(
    SPSiteInventoryUsageEntry.SiteMetric metric,
    Object value
)

Parameters

See Also

Reference

SPSiteInventoryUsageEntry Class

SPSiteInventoryUsageEntry Members

Microsoft.SharePoint.Administration Namespace