SPResourceBudget Constructor
Creates a new instance of the SPResourceBudget() class.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub New ( _
name As String, _
severity As TraceSeverity, _
ParamArray monitors As ISPScopedPerformanceMonitor() _
)
'Usage
Dim name As String
Dim severity As TraceSeverity
Dim monitors As ISPScopedPerformanceMonitor()
Dim instance As New SPResourceBudget(name, severity, _
monitors)
public SPResourceBudget(
string name,
TraceSeverity severity,
params ISPScopedPerformanceMonitor[] monitors
)
Parameters
name
Type: System.StringName of the resource budget.
- severity
Type: Microsoft.SharePoint.Administration.TraceSeverity
- monitors
Type: []