SPUtility.MarkDiscussionAsFeatured method
Given a discussion board topic, this function will elevate privileges and change the IsFeatured field of the discussion
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Sub MarkDiscussionAsFeatured ( _
listID As String, _
topicIDs As String _
)
'Usage
Dim listID As String
Dim topicIDs As StringSPUtility.MarkDiscussionAsFeatured(listID, _
topicIDs)
public static void MarkDiscussionAsFeatured(
string listID,
string topicIDs
)
Parameters
- listID
Type: System.String
- topicIDs
Type: System.String