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
metric
Type: Microsoft.SharePoint.Administration.SPSiteInventoryUsageEntry.SiteMetricA [Microsoft.SharePoint.Administration.SPSiteInventoryUsageEntry.SiteMetric] enumerator object. Possible values are Template, Version, Language, and ListTemplates.
Return Value
Type: System.Object
A Object with a String representation of the metric data..
See Also
Reference
SPSiteInventoryUsageEntry Class