Share via


ElevatedPrivilegesHelper.RunElevated method (SPListItem, ElevatedPrivilegesHelper.RunElevatedDelegate)

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

Syntax

'Declaration
Public Shared Sub RunElevated ( _
    item As SPListItem, _
    myDelegate As ElevatedPrivilegesHelper.RunElevatedDelegate _
)
'Usage
Dim item As SPListItem
Dim myDelegate As ElevatedPrivilegesHelper.RunElevatedDelegateElevatedPrivilegesHelper.RunElevated(item, myDelegate)
public static void RunElevated(
    SPListItem item,
    ElevatedPrivilegesHelper.RunElevatedDelegate myDelegate
)

Parameters

See also

Reference

ElevatedPrivilegesHelper class

ElevatedPrivilegesHelper members

RunElevated overload

Microsoft.Office.Server.ReputationModel namespace