Share via


SPQueryUsageEntry.SampleRate property

NOTE: This API is now obsolete.

Sample rate member of the [Microsoft.SharePoint.Administration.SPQueryUsageEntry] object.

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

Syntax

'Declaration
<ObsoleteAttribute("Query usage collection is no longer necessary for the new analytics platform.")> _
Public Property SampleRate As Nullable(Of Byte)
    Get
    Set
'Usage
Dim instance As SPQueryUsageEntry
Dim value As Nullable(Of Byte)

value = instance.SampleRate

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

Property value

Type: System.Nullable<Byte>
A Nullable<T> representation of the rate.

See also

Reference

SPQueryUsageEntry class

SPQueryUsageEntry members

Microsoft.SharePoint.Administration namespace