SPDiagnosticsService.Unprovision Method

Makes the necessary changes to the local server to clean up after deleting the SPDiagnosticsService object.

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

Syntax

Public Overrides Sub Unprovision

Dim instance As SPDiagnosticsService

instance.Unprovision()
public override void Unprovision()

Remarks

This method resets permissions on the log file directory. It does not remove the directory, nor does it delete any log files.

See Also

Reference

SPDiagnosticsService Class

SPDiagnosticsService Members

Microsoft.SharePoint.Administration Namespace

Provision()