Partilhar via


SPSiteInventoryUsageEntry.GetMetric Method

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

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

Syntax

'Declaration
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)
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