Share via


SPAdministrationWebApplication.AdministrativeTaskExists method

NOTE: This API is now obsolete.

Returns a Boolean value that indicates whether an administrative task item exists.

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

Syntax

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

returnValue = instance.AdministrativeTaskExists(systemId)
[ObsoleteAttribute("The admin task list is obsolete.", false)]
public bool AdministrativeTaskExists(
    string systemId
)

Parameters

  • systemId
    Type: System.String

    A string that contains the system ID of the task item.

Return value

Type: System.Boolean
true if an administrative task exists; otherwise, false.

See also

Reference

SPAdministrationWebApplication class

SPAdministrationWebApplication members

Microsoft.SharePoint.Administration namespace