ModuleProvider 類別

定義

提供實作管理模組提供者的基類。

public ref class ModuleProvider abstract
public abstract class ModuleProvider
type ModuleProvider = class
Public MustInherit Class ModuleProvider
繼承
ModuleProvider
衍生

備註

管理模組提供者會提供管理模組的相關資訊,包括其模組服務類型和管理模組程式碼的位置。

給實施者的注意事項

當您繼承自 ModuleProvider 時,必須覆寫下列成員: ServiceTypeGetModuleDefinition(IManagementContext)SupportsScope(ManagementScope)

建構函式

ModuleProvider()

初始化 ModuleProvider 類別的新執行個體。

屬性

FriendlyName

取得模組提供者的易記名稱。

ManagementUnit

取得相關聯的管理單位。

Name

取得模組提供者的名稱。

ServiceType

在衍生類別中覆寫時,取得與模組提供者相關聯的模組服務類型。

SupportsDelegation

取得值,指出提供者是否支援委派。

方法

GetChildDelegationState(String)

在衍生類別中覆寫時,傳回子委派狀態。

GetModuleDefinition(IManagementContext)

在衍生類別中覆寫時,擷取與模組提供者相關聯之管理模組的相關資訊。

GetSupportedChildDelegationStates(String)

在衍生類別中覆寫時,擷取支援的子委派狀態陣列。

Initialize(String)

設定模組提供者的名稱。

SetChildDelegationState(String, DelegationState)

在衍生類別中實作時,設定指定路徑的指定委派狀態。

SupportsScope(ManagementScope)

在衍生類別中覆寫時,傳回值,指出模組提供者是否支援指定的範圍。

適用於