SPDiagnosticsProvider.Execute method

Called by the timer job at scheduled intervals to execute data collection activities associated with this provider.

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

Syntax

'Declaration
Public Overrides Sub Execute ( _
    targetInstanceId As Guid _
)
'Usage
Dim instance As SPDiagnosticsProvider
Dim targetInstanceId As Guid

instance.Execute(targetInstanceId)
public override void Execute(
    Guid targetInstanceId
)

Parameters

  • targetInstanceId
    Type: System.Guid

    A Guid object representing the instance ID of the target farm.

Remarks

This method should not be overridden. Use the Sync() method instead.

See also

Reference

SPDiagnosticsProvider class

SPDiagnosticsProvider members

Microsoft.SharePoint.Diagnostics namespace