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
service
Type: Microsoft.SharePoint.Administration.SPServiceAn SPService object.
See also
Reference
SPDiagnosticsEventLogProvider class
SPDiagnosticsEventLogProvider members