次の方法で共有


SPRatingUsageDefinition constructor (SPFarm)

NOTE: This API is now obsolete.

Initializes a new instance of the [Microsoft.SharePoint.Administration.SPRatingUsageDefinition] class within the specified SharePoint farm.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<ObsoleteAttribute("Rating usage 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 SPRatingUsageDefinition(farm)
[ObsoleteAttribute("Rating usage collection is no longer necessary for the new analytics platform.")]
public SPRatingUsageDefinition(
    SPFarm farm
)

Parameters

See also

Reference

SPRatingUsageDefinition class

SPRatingUsageDefinition members

SPRatingUsageDefinition overload

Microsoft.SharePoint.Administration namespace