共用方式為


SPAdministrationWebApplication.RemoveAdministrativeTask Method

NOTE: This API is now obsolete.

Removes the specified item from the administration Tasks list.

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

Syntax

'Declaration
<ObsoleteAttribute("The admin task list is obsolete.", False)> _
Public Sub RemoveAdministrativeTask ( _
    systemId As String _
)
'Usage
Dim instance As SPAdministrationWebApplication
Dim systemId As String

instance.RemoveAdministrativeTask(systemId)
[ObsoleteAttribute("The admin task list is obsolete.", false)]
public void RemoveAdministrativeTask(
    string systemId
)

Parameters

  • systemId
    Type: System.String

    A string that contains the system ID of the task.

See Also

Reference

SPAdministrationWebApplication Class

SPAdministrationWebApplication Members

Microsoft.SharePoint.Administration Namespace