SPUserCodeServiceInstance 类

表示在服务器上的用户代码 (沙盒解决方案) 服务的实例。

继承层次结构

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

命名空间:  Microsoft.SharePoint.Administration
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

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

线程安全性

该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

引用

SPUserCodeServiceInstance 成员

Microsoft.SharePoint.Administration 命名空间