Share via


SPRatingUsageEntry.SampleRate Property

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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
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
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