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)
Available in Sandboxed Solutions: No
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.StringA 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