ManagementConfigurationAttribute.Mode Propriedade

Definição

Obtém ou define o modo da propriedade, que especifica se as alterações são aplicadas assim que possível ou quando um método de confirmação é chamado.Gets or sets the mode of the property, which specifies whether changes to it are applied as soon as possible or when a commit method is called.

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

Valor da propriedade

ManagementConfigurationType

Retorna um ManagementConfigurationType que indica se a propriedade WMI usa Apply o OnCommit modo ou.Returns a ManagementConfigurationType that indicates whether the WMI property uses Apply or OnCommit mode.

Comentários

Se houver um método Commit definido, ele será responsável por atualizar todas as propriedades WMI de leitura/gravação que usam o OnCommit modo.If there is a commit method defined, it is responsible for updating all read-write WMI properties that use the OnCommit mode. Ele é identificado pelo ManagementCommitAttribute .It is identified by the ManagementCommitAttribute.

Aplica-se a