Share via


SPBandwidthUsageMonitoredScope class

Monitors performance bandwidth usage for a specified section of code.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Utilities.SPMonitoredScope
    Microsoft.SharePoint.Utilities.SPResourceBudget
      Microsoft.SharePoint.Administration.SPBandwidthUsageMonitoredScope

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SPBandwidthUsageMonitoredScope _
    Inherits SPResourceBudget
'Usage
Dim instance As SPBandwidthUsageMonitoredScope
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPBandwidthUsageMonitoredScope : SPResourceBudget

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

SPBandwidthUsageMonitoredScope members

Microsoft.SharePoint.Administration namespace