Share via


ManagementConfigurationAttribute.Mode 屬性

定義

取得或設定屬性的模式,以指定盡快套用對屬性的變更,還是在呼叫認可方法時才套用。

public:
 property System::Management::Instrumentation::ManagementConfigurationType Mode { System::Management::Instrumentation::ManagementConfigurationType get(); void set(System::Management::Instrumentation::ManagementConfigurationType value); };
public System.Management.Instrumentation.ManagementConfigurationType Mode { get; set; }
member this.Mode : System.Management.Instrumentation.ManagementConfigurationType with get, set
Public Property Mode As ManagementConfigurationType

屬性值

傳回 ManagementConfigurationType,指出 WMI 屬性是使用 Apply 還是 OnCommit 模式。

備註

如果已定義認可方法,則負責更新使用 OnCommit 模式的所有讀寫 WMI 屬性。 它是由 ManagementCommitAttribute識別。

適用於