Share via


SPUserCodeProvider class

Defines the base class for all sandboxed solution providers, including assembly group providers and load balancer providers.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPUserCodeProvider
        Microsoft.SharePoint.Administration.SPUserCodeExecutionTier
        Microsoft.SharePoint.Administration.SPUserCodeLoadBalancerProvider
        Microsoft.SharePoint.UserCode.SPSolutionValidator

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public MustInherit Class SPUserCodeProvider _
    Inherits SPPersistedObject _
    Implements IBackupRestoreConfiguration, IBackupRestore
'Usage
Dim instance As SPUserCodeProvider
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public abstract class SPUserCodeProvider : SPPersistedObject, 
    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

SPUserCodeProvider members

Microsoft.SharePoint.Administration namespace