共用方式為


SPService.Delete Method

Removes the service and associated resources.

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

Syntax

'Declaration
Public Overrides Sub Delete
'Usage
Dim instance As SPService

instance.Delete()
public override void Delete()

Remarks

Deletes any Web application-specific job definitions.

See Also

Reference

SPService Class

SPService Members

Microsoft.SharePoint.Administration Namespace