SPDeveloperDashboardSettings.EnableDiagnosticMode 方法
启用诊断模式是通过设置**[this.DisplayLevel]**至SPPerformanceMonitoringLevel.OnDemand,为SPBasePermissions.EmptyMask, **[this.RequiredPermissions]和[this.TraceEnabled]**到true。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Sub EnableDiagnosticMode
用法
Dim instance As SPDeveloperDashboardSettings
instance.EnableDiagnosticMode()
public void EnableDiagnosticMode()
另请参阅
引用
SPDeveloperDashboardSettings 类