SPDiagnosticsServiceBase.ProvideAreas method
Returns a collection of the event and trace logging categories used with this service.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Protected MustOverride Function ProvideAreas As IEnumerable(Of SPDiagnosticsArea)
'Usage
Dim returnValue As IEnumerable(Of SPDiagnosticsArea)
returnValue = Me.ProvideAreas()
protected abstract IEnumerable<SPDiagnosticsArea> ProvideAreas()
Type: System.Collections.Generic.IEnumerable<SPDiagnosticsArea>
An enumerable collection of SPDiagnosticsCategory objects.
You must implement this method in your concrete subclass. For more information, see the example implementation in the overview for the SPDiagnosticsServiceBase class.
SPDiagnosticsServiceBase class