共用方式為


SearchSocialSecurityTrimmer Class

Contains methods for security trimming lists that contain social data.

Inheritance Hierarchy

System.Object
  Microsoft.Office.Server.SocialData.SearchSocialSecurityTrimmer

Namespace:  Microsoft.Office.Server.SocialData
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SearchSocialSecurityTrimmer _
    Implements ISocialSecurityTrimmer
'Usage
Dim instance As SearchSocialSecurityTrimmer
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SearchSocialSecurityTrimmer : ISocialSecurityTrimmer

Remarks

See ISocialSecurityTrimmer for a code sample that creates a custom SearchSocialSecurityTrimmer.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SearchSocialSecurityTrimmer Members

Microsoft.Office.Server.SocialData Namespace