共用方式為


SPDiagnosticsService.ProvideAreas Method

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Protected Overrides Function ProvideAreas As IEnumerable(Of SPDiagnosticsArea)
'Usage
Dim returnValue As IEnumerable(Of SPDiagnosticsArea)

returnValue = Me.ProvideAreas()
protected override IEnumerable<SPDiagnosticsArea> ProvideAreas()

Return Value

Type: System.Collections.Generic.IEnumerable<SPDiagnosticsArea>
Returns IEnumerable<T>.

See Also

Reference

SPDiagnosticsService Class

SPDiagnosticsService Members

Microsoft.SharePoint.Administration Namespace