다음을 통해 공유


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)
Available in Sandboxed Solutions: No

Syntax

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