SPUtility.SetEmailFollowLinkEnabled method
set whether content following should be enabled on a document library
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Sub SetEmailFollowLinkEnabled ( _
web As SPWeb, _
enabled As Boolean _
)
'Usage
Dim web As SPWeb
Dim enabled As BooleanSPUtility.SetEmailFollowLinkEnabled(web, _
enabled)
public static void SetEmailFollowLinkEnabled(
SPWeb web,
bool enabled
)
Parameters
web
Type: Microsoft.SharePoint.SPWebthe spweb on which to set the content following enabled state
enabled
Type: System.Booleanwhether to enable content following