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)


Protected MustOverride Function ProvideAreas As IEnumerable(Of SPDiagnosticsArea)
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.


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


SPDiagnosticsServiceBase class

SPDiagnosticsServiceBase members

Microsoft.SharePoint.Administration namespace