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)
Syntax
'Declaration
Protected MustOverride Function ProvideAreas As IEnumerable(Of SPDiagnosticsArea)
'Usage
Dim returnValue As IEnumerable(Of SPDiagnosticsArea)
returnValue = Me.ProvideAreas()
protected abstract IEnumerable<SPDiagnosticsArea> ProvideAreas()
Return value
Type: System.Collections.Generic.IEnumerable<SPDiagnosticsArea>
An enumerable collection of SPDiagnosticsCategory objects.
Remarks
You must implement this method in your concrete subclass. For more information, see the example implementation in the overview for the SPDiagnosticsServiceBase class.
See also
Reference
SPDiagnosticsServiceBase class