Share via


SPRatingUsageEntry.SampleRate property

NOTE: This API is now obsolete.

Gets or sets the percentage of data that is sampled out. This is a cumulative rate of sampling. By default, the sample rate is 100%.

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 Property SampleRate As Nullable(Of Byte)
    Get
    Set
'Usage
Dim instance As SPRatingUsageEntry
Dim value As Nullable(Of Byte)

value = instance.SampleRate

instance.SampleRate = value
[ObsoleteAttribute("Rating usage collection is no longer necessary for the new analytics platform.")]
public Nullable<byte> SampleRate { get; set; }

Property value

Type: System.Nullable<Byte>
The sample rate.

See also

Reference

SPRatingUsageEntry class

SPRatingUsageEntry members

Microsoft.SharePoint.Administration namespace