SPUtility.FlushIISToken method

Invalidates the user token for all application pool accounts.

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

Public Shared Function FlushIISToken As Boolean
Dim returnValue As Boolean

returnValue = SPUtility.FlushIISToken()

Return value

Type: System.Boolean
true if successful; otherwise, false.

This method returns false is the version number of Internet Information Services is less than 7.