共用方式為


SPUserCodeService class

管理設定和執行沙箱化解決方案服務的功能。

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

'宣告
<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
'用途
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.

請參閱

參照

SPUserCodeService members

Microsoft.SharePoint.Administration namespace