Export (0) Print
Expand All

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 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.

Community Additions

ADD
Show:
© 2014 Microsoft