Share via


SPDiagnosticsEventLogProvider constructor (SPService)

Initializes a new instance of the SPDiagnosticsEventLogProvider class for a specific farm-level service.

Namespace:  Microsoft.SharePoint.Diagnostics
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub New ( _
    service As SPService _
)
'Usage
Dim service As SPService

Dim instance As New SPDiagnosticsEventLogProvider(service)
public SPDiagnosticsEventLogProvider(
    SPService service
)

Parameters

See also

Reference

SPDiagnosticsEventLogProvider class

SPDiagnosticsEventLogProvider members

SPDiagnosticsEventLogProvider overload

Microsoft.SharePoint.Diagnostics namespace