다음을 통해 공유


SPUserCodeServiceInstance class

Represents an instance of the user code (sandboxed solution) service on a server.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPPersistedUpgradableObject
        Microsoft.SharePoint.Administration.SPServiceInstance
          Microsoft.SharePoint.Administration.SPWindowsServiceInstance
            Microsoft.SharePoint.Administration.SPUserCodeServiceInstance

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

Syntax

'Declaration
<GuidAttribute("9EF8B26B-0C75-4475-8514-69BC61059226")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPUserCodeServiceInstance _
    Inherits SPWindowsServiceInstance
'Usage
Dim instance As SPUserCodeServiceInstance
[GuidAttribute("9EF8B26B-0C75-4475-8514-69BC61059226")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPUserCodeServiceInstance : SPWindowsServiceInstance

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

SPUserCodeServiceInstance members

Microsoft.SharePoint.Administration namespace