共用方式為


SPUserCodeService members

Include protected members
Include inherited members

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

The SPUserCodeService type exposes the following members.

Constructors

  Name Description
Public method SPUserCodeService() 初始化SPUserCodeService類別的新執行個體。
Public method SPUserCodeService(SPFarm) 初始化基礎指定的Microsoft SharePoint Foundation伺服器陣列中的SPUserCodeService類別的新執行個體。

Top

Properties

  Name Description
Public property AlwaysRecycleAppDomains 取得或設定一個值,指出的下次有服務應保留特定沙箱化解決方案應用程式定義域 alive 解決方案已完成之後,並重複使用相同的網域是否為要求相同的方案。
Public property Applications 取得與服務相關聯的服務應用程式的集合。 (Inherited from SPService.)
Public property AspNetRootFolder 取得或設定服務要求來自外部ASP.NET沙箱化解決方案的根資料夾的完整路徑。
Public property BlockedSolutions 取得沙箱化解決方案封鎖Microsoft SharePoint Foundation伺服器陣列中的集合。
Public property CanBackupRestoreAsConfiguration 取得一個值,指出是否服務物件可以包含在僅限設定備份或還原作業。
Public property CanRenameOnRestore 取得一個值,指出已還原時,是否可以重新命名SPUserCodeService 。
Public property CanSelectForBackup 取得或設定一個值,指出是否SPUserCodeService可以選取個別的備份作業。
Public property CanSelectForRestore 取得或設定一個值,指出是否SPUserCodeService可以選取個別的還原作業。
Public property CanUpgrade 取得一個值,指出是否可以升級物件。 (Inherited from SPPersistedUpgradableObject.)
Public property DataAggregationInterval 取得或設定的時間,以秒為單位之間資料彙總資料推送備份內容資料庫的服務作業。
Public property DiskSizeRequired 會取得所需的備份的磁碟空間。
Public property DisplayName 取得說明系統管理使用者介面中的持續性的物件執行個體的顯示名稱。 (Inherited from SPPersistedObject.)
Public property Farm 取得物件所在的伺服器陣列。 (Inherited from SPPersistedObject.)
Public property Id 取得或設定與物件關聯的 GUID。 (Inherited from SPPersistedObject.)
Public property Instances 伺服器陣列中取得所有的服務執行個體的集合。 (Inherited from SPService.)
Public property IsBackwardsCompatible 取得或設定一個值,指出目前物件是否回溯相容。 (Inherited from SPPersistedUpgradableObject.)
Public property IsEnabled 取得值,指出目前的服務已佈建並執行如預期般運作。
Public property JobDefinitions 取得此服務的工作定義的集合。 (Inherited from SPService.)
Public property JobHistoryEntries 此服務取得列舉工作的歷程記錄項目。 (Inherited from SPService.)
Public property LoadBalancer 取得或設定伺服器陣列 (有時稱為 「 遠端模式 」) 的親和性模式中執行沙箱化解決方案時,會要求沙箱化解決方案將指派給特定伺服器的負載平衡器。
Public propertyStatic member Local 取得與此伺服器陣列相關聯的主要使用者程式碼服務。
Public property Name 取得或設定用來唯一地識別具有相同的父項和類別的兩個物件的名稱。 (Inherited from SPPersistedObject.)
Public property NeedsUpgrade 取得或設定 Boolean 值,以指定物件是否需要升級。 (Inherited from SPPersistedUpgradableObject.)
Public property NeedsUpgradeIncludeChildren 取得 Boolean 值,指出是否應該升級物件,考慮物件的子項。 (Inherited from SPPersistedUpgradableObject.)
Public property Parent 取得父項的組態物件樹狀目錄之邏輯階層中。 (Inherited from SPPersistedObject.)
Public property ProcessIdentity 取得 Windows 服務處理序身分識別。 (Inherited from SPWindowsService.)
Public property Properties 取得保存物件的中繼資料。 (Inherited from SPPersistedObject.)
Public property ProxyOperationTypes 會取得Microsoft SharePoint Foundation伺服器陣列中所登錄的 proxy 作業類型的集合。
Public property Required 取得 Boolean 值,指出是否必須在伺服器陣列中的至少一部電腦上執行之服務的執行個體。 (Inherited from SPService.)
Public property ResourceMeasures 取得規範服務Microsoft SharePoint Foundation伺服器陣列中的資源使用狀況的量值的集合。
Public property ResourceUsageRetentionDays 取得或設定保留內容資料庫中的資源使用狀況資訊的天數。
Public property RunningJobs 會取得一群執行這項服務的工作。 (Inherited from SPService.)
Public property SecurityPolicyFileCore 取得或設定來自外部ASP.NET邀請的安全性原則設定檔的名稱。
Public property ServicePort 取得或設定用來連線至服務的連接埠號碼。
Public property SolutionValidators 驗證沙箱化解決方案取得解決方案驗證程式的集合。
Public property Status 取得或設定此類別代表物件的狀態。 (Inherited from SPPersistedObject.)
Public property Tiers 取得說明執行層屬性的集合。
Public property TypeName 會取得用來說明執行沙箱化解決方案服務執行個體的易記名稱。 (Overrides SPPersistedObject.TypeName.)
Public property UpgradeContext 取得目前的升級作業SPUpgradeContext 。 (Inherited from SPPersistedUpgradableObject.)
Public property UpgradedPersistedProperties 取得已刪除或變更的欄位的欄位名稱和值集合。 (Inherited from SPAutoSerializingObject.)
Public property UseLocalServerOnly 取得或設定一個值,指出服務是否必須使用本機電腦。
Public property Version 取得一個值,每的次就遞增物件已更新。 (Inherited from SPPersistedObject.)
Protected property WasCreated 取得 Boolean 值,指出物件是否已初始化,以及是否可以在資料庫中找到。 (Inherited from SPPersistedObject.)
Public property WorkerProcessExecutionTimeout 取得或設定的時間,以秒為單位,允許單一要求內沙箱工作者處理序執行。
Public property WorkerProcessRecycleTime 取得或設定的時間,以分鐘為單位,沙箱工作者處理序會自動回收。

Top

Methods

  Name Description
Public method AddBackupObjects 將SPUserCodeService和實作IBackupRestore介面至備份或還原作業的任何子物件。
Public method Clone 會傳回物件,不是來自於記憶體中快取,可讓呼叫的程式碼,以協助確保執行緒安全的複製物件。 (Inherited from SPPersistedObject.)
Public method Delete 移除服務及相關的資源。 (Inherited from SPService.)
Public method Equals 會決定目前保存的物件是否等於指定的物件。 (Inherited from SPPersistedObject.)
Protected method Finalize (Inherited from Object.)
Public method GetChild<T>() 會傳回指定類型為基礎的持續性物件的子系。 (Inherited from SPPersistedObject.)
Public method GetChild<T>(String) 會傳回指定名稱為基礎的持續性物件的子物件。 (Inherited from SPPersistedObject.)
Public method GetCreateApplicationLink 會取得用來建立新的服務應用程式的管理使用者介面的連結。 (Inherited from SPService.)
Public method GetCreateApplicationOptions 取得建立新的服務應用程式的選項。 (Inherited from SPService.)
Public method GetHashCode 做為保存物件的雜湊函數。 (Inherited from SPPersistedObject.)
Public method GetObjectData 取得序列的物件的狀態。 (Inherited from SPAutoSerializingObject.)
Public methodStatic member GetSolutionSignatureFromFile 會取得指定之的沙箱化解決方案套件的簽章。
Public method GetType (Inherited from Object.)
Protected method HasAdditionalUpdateAccess 覆寫此方法,以允許多個使用者更新物件。 (Inherited from SPPersistedObject.)
Public method Invalidate 無效的計算的屬性值。 (Inherited from SPPersistedUpgradableObject.)
Public method IsUserLicensedForEntity 會檢查目前使用者是否有適當的授權,才能存取指定的實體。 (Inherited from SPService.)
Protected method MemberwiseClone (Inherited from Object.)
Public method OnAbort 會引發中止事件。
Public method OnBackup 會引發Backup事件。
Public method OnBackupComplete 會引發BackupComplete事件。
Protected method OnDeserialization 緊接在後呼叫基底類別會還原序列化本身執行其他工作。 (Inherited from SPPersistedObject.)
Protected method OnPasswordChange 如果您需要特殊處理的密碼變更事件,則請這覆寫。 (Inherited from SPWindowsService.)
Public method OnPostRestore 會引發PostRestore事件。
Public method OnPrepareBackup 會引發PrepareBackup事件。
Public method OnPreRestore 會引發PreRestore事件。
Public method OnRestore 會引發Restore事件。
Public method Provision 以本機伺服器,才能使用該物件所需進行的變更。 (Inherited from SPPersistedObject.)
Public method ToString 會傳回所有階 (父項、 上二層,依此類推) 和物件的名稱與類型。 (Inherited from SPPersistedObject.)
Public method Uncache 釋放物件所使用的記憶體快取。 (Inherited from SPPersistedObject.)
Public method Unprovision 對本機伺服器時,需要清理之後刪除之物件所做的變更。 (Inherited from SPPersistedObject.)
Public method Update() 儲存狀態的服務並傳播至伺服器陣列中的所有伺服器的變更。 (Overrides SPWindowsService.Update().)
Public method Update(Boolean) 會使物件以儲存狀態,並傳播到的所有電腦的伺服器陣列,選擇性地擲回例外狀況,如果物件已存在設定存放區中的變更。 (Inherited from SPPersistedObject.)
Public method UpdateCredentials 更新 Windows 服務的認證,其使用者名稱或密碼變更時。 (Inherited from SPWindowsService.)
Protected method UpdateParent 會包含SPPersistedObject,若有的話,來更新其狀態。 (Inherited from SPAutoSerializingObject.)
Public methodStatic member UpdateRegistryKeyPermissions 這會更新以存取其登錄機碼的內建的使用者帳戶的權限。
Public method Upgrade() 升級物件。 (Inherited from SPPersistedUpgradableObject.)
Public method Upgrade(Boolean) 升級物件,並且遞迴方式布林值參數會等於true,升級目前物件的所有子代。 (Inherited from SPPersistedUpgradableObject.)
Protected method Validate 驗證的所有欄位的狀態之前保存物件。 (Inherited from SPPersistedObject.)
Public method ValidateBackwardsCompatibility 在 Web 前端 Dll 的驗證的內容資料庫結構描述的回溯相容性。內容資料庫進行連線,確認資料庫結構描述是相容每次呼叫此方法。 (Inherited from SPPersistedUpgradableObject.)

Top

請參閱

參照

SPUserCodeService class

Microsoft.SharePoint.Administration namespace