SPResourceBudget constructor (String, TraceSeverity, ISPScopedPerformanceMonitor[])
會建立**SPResourceBudget()**類別的新執行個體。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub New ( _
name As String, _
severity As TraceSeverity, _
ParamArray monitors As ISPScopedPerformanceMonitor() _
)
'用途
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
)
參數
name
Type: System.String資源的預算的名稱。
- severity
Type: Microsoft.SharePoint.Administration.TraceSeverity
- monitors
Type: []