SPUserCodeService class

Manages the settings and features for the service that executes sandboxed solutions.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPPersistedUpgradableObject
        Microsoft.SharePoint.Administration.SPService
          Microsoft.SharePoint.Administration.SPWindowsService
            Microsoft.SharePoint.Administration.SPUserCodeService

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

Syntax

'Declaration
<LaunchOnBehalfOfPrivilegeAttribute> _
<GuidAttribute("15F7F1D8-F061-4fe5-B951-38E37D5391EB")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPUserCodeService _
    Inherits SPWindowsService _
    Implements IBackupRestoreConfiguration, IBackupRestore
'Usage
Dim instance As SPUserCodeService
[LaunchOnBehalfOfPrivilegeAttribute]
[GuidAttribute("15F7F1D8-F061-4fe5-B951-38E37D5391EB")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPUserCodeService : SPWindowsService, 
    IBackupRestoreConfiguration, IBackupRestore

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

SPUserCodeService members

Microsoft.SharePoint.Administration namespace