Share via


ResourceMonitoringOptions.SamplingInterval Property

Definition

Gets or sets the interval at which a new utilization sample is captured.

public:
 property TimeSpan SamplingInterval { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan SamplingInterval { get; set; }
member this.SamplingInterval : TimeSpan with get, set
Public Property SamplingInterval As TimeSpan

Property Value

The default value is 1 second.

Remarks

This value must be less than or equal to CollectionWindow.

Applies to