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
metric
Type: Microsoft.SharePoint.Administration.SPSiteInventoryUsageEntry.SiteMetricThe site metric object to set.
value
Type: System.ObjectData to assign to the site metric.
See Also
Reference
SPSiteInventoryUsageEntry Class