Freigeben über


SPSiteInventoryUsageEntry.SetMetric-Methode

HINWEIS: Diese API ist veraltet.

Legt die angegebene Website Metrik mit Daten, die durch den Parameter [System.Object] enthalten sind.

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
)

Parameter

  • value
    Typ: System.Object

    Daten, die die Website Metrik zuweisen.

Siehe auch

Referenz

SPSiteInventoryUsageEntry Klasse

SPSiteInventoryUsageEntry-Member

Microsoft.SharePoint.Administration-Namespace