共用方式為


SPUserCodeProvider members

Include protected members
Include inherited members

對於所有沙箱化解決方案提供者,包括組件群組提供者和負載平衡器提供者定義的基底類別。

The SPUserCodeProvider type exposes the following members.

Constructors

  Name Description
Protected method SPUserCodeProvider() 初始化SPUserCodeProvider類別的新執行個體。
Protected method SPUserCodeProvider(String, SPPersistedObject) 初始化SPUserCodeProvider類別的新執行個體。

Top

Properties

  Name Description
Public property CanBackupRestoreAsConfiguration 取得一個值,指出提供者物件是否可以選取納入僅限設定備份或還原作業。
Public property CanRenameOnRestore 取得一個值,指出還原時,是否可以重新命名SPUserCodeProvider物件。
Public property CanSelectForBackup 取得或設定一個值,指出是否可以個別進行選取,在使用者介面,備份此項目。
Protected property CanSelectForBackupRestore 衍生的類別中實作時,會取得一個值,指出是否可以個別進行選取,在使用者介面,用於備份及還原此項目。
Public property CanSelectForRestore 取得或設定一個值,指出是否可以個別進行選取,在使用者介面,還原此項目。
Public property DiskSizeRequired 取得備份的提供者物件所需的磁碟上的空間量。
Public property DisplayName 取得說明系統管理使用者介面中的持續性的物件執行個體的顯示名稱。 (Inherited from SPPersistedObject.)
Public property Farm 取得物件所在的伺服器陣列。 (Inherited from SPPersistedObject.)
Public property Id 取得或設定與物件關聯的 GUID。 (Inherited from SPPersistedObject.)
Public property Name 取得或設定用來唯一地識別具有相同的父項和類別的兩個物件的名稱。 (Inherited from SPPersistedObject.)
Public property Parent 取得父項的組態物件樹狀目錄之邏輯階層中。 (Inherited from SPPersistedObject.)
Public property Properties 取得保存物件的中繼資料。 (Inherited from SPPersistedObject.)
Public property ProviderId 這個提供者的特定類別的識別碼。
Public property Status 取得或設定此類別代表物件的狀態。 (Inherited from SPPersistedObject.)
Public property TypeName 取得說明系統管理使用者介面中的物件類型的顯示名稱。 (Inherited from SPPersistedObject.)
Public property UpgradedPersistedProperties 取得已刪除或變更的欄位的欄位名稱和值集合。 (Inherited from SPAutoSerializingObject.)
Public property Version 取得一個值,每的次就遞增物件已更新。 (Inherited from SPPersistedObject.)
Protected property WasCreated 取得 Boolean 值,指出物件是否已初始化,以及是否可以在資料庫中找到。 (Inherited from SPPersistedObject.)

Top

Methods

  Name Description
Public method AddBackupObjects 將SPUserCodeProvider新增至備份或還原工作。
Public method Clone 會傳回物件,不是來自於記憶體中快取,可讓呼叫的程式碼,以協助確保執行緒安全的複製物件。 (Inherited from SPPersistedObject.)
Public method Delete 刪除此物件。 (Inherited from SPPersistedObject.)
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 GetHashCode 做為保存物件的雜湊函數。 (Inherited from SPPersistedObject.)
Public method GetObjectData 取得序列的物件的狀態。 (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Protected method HasAdditionalUpdateAccess 覆寫此方法,以允許多個使用者更新物件。 (Inherited from SPPersistedObject.)
Protected method MemberwiseClone (Inherited from Object.)
Public method OnAbort 引發中止(備份或還原) 的事件。
Protected method OnAddBackupObjects 衍生的類別中實作時,將會引發AddBackupObjects事件。
Public method OnBackup 會引發備份事件。
Public method OnBackupComplete 會引發BackupComplete事件。
Protected method OnDeserialization 緊接在後呼叫基底類別會還原序列化本身執行其他工作。 (Inherited from SPPersistedObject.)
Public method OnPostRestore 會引發PostRestore事件。
Public method OnPrepareBackup 會引發PrepareBackup事件。
Public method OnPreRestore 會引發PreRestore事件。
Public method OnRestore 還原事件。
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() 會使物件以儲存狀態,並傳播至伺服器陣列中的所有電腦的變更。 (Inherited from SPPersistedObject.)
Public method Update(Boolean) 會使物件以儲存狀態,並傳播到的所有電腦的伺服器陣列,選擇性地擲回例外狀況,如果物件已存在設定存放區中的變更。 (Inherited from SPPersistedObject.)
Protected method UpdateParent 會包含SPPersistedObject,若有的話,來更新其狀態。 (Inherited from SPAutoSerializingObject.)
Protected method Validate 驗證的所有欄位的狀態之前保存物件。 (Inherited from SPPersistedObject.)

Top

請參閱

參照

SPUserCodeProvider class

Microsoft.SharePoint.Administration namespace