共用方式為


SPPersistedObject.Delete Method

Deletes the object.

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

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)> _
Public Overridable Sub Delete
'Usage
Dim instance As SPPersistedObject

instance.Delete()
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public virtual void Delete()

See Also

Reference

SPPersistedObject Class

SPPersistedObject Members

Microsoft.SharePoint.Administration Namespace