Share via


SPSiteInventoryUsageProvider constructor (SPFarm)

NOTE: This API is now obsolete.

Initializes a new instance of the [Microsoft.SharePoint.Administration.SPSiteInventoryUsageProvider] class within the given SharePoint farm object.

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 New ( _
    farm As SPFarm _
)
'Usage
Dim farm As SPFarm

Dim instance As New SPSiteInventoryUsageProvider(farm)
[ObsoleteAttribute("Site inventory collection is no longer necessary for the new analytics platform.")]
public SPSiteInventoryUsageProvider(
    SPFarm farm
)

Parameters

See also

Reference

SPSiteInventoryUsageProvider class

SPSiteInventoryUsageProvider members

SPSiteInventoryUsageProvider overload

Microsoft.SharePoint.Administration namespace