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