Share via


SPRatingUsageDefinition.Local property

NOTE: This API is now obsolete.

Gets an instance of this usage definition from the local farm. If an instance does not exists a new instance is created and returned.

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 Shared ReadOnly Property Local As SPRatingUsageDefinition
    Get
'Usage
Dim value As SPRatingUsageDefinition

value = SPRatingUsageDefinition.Local
[ObsoleteAttribute("Rating usage collection is no longer necessary for the new analytics platform.")]
public static SPRatingUsageDefinition Local { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPRatingUsageDefinition
A SPRatingUsageDefinition instance.

See also

Reference

SPRatingUsageDefinition class

SPRatingUsageDefinition members

Microsoft.SharePoint.Administration namespace