Share via


ManagementPack.AcceptChanges Method

Definition

Commits any unsaved changes that were made to the management pack after it was loaded or after the last time this method was called.

Overloads

AcceptChanges()

Commits any unsaved changes that were made to the management pack after it was loaded or after the last time the AcceptChanges() method was called.

AcceptChanges(ManagementPackVerificationTypes)

Commits any unsaved changes that were made to the management pack after it was loaded or after the last time this method was called by using verification types.

AcceptChanges()

Commits any unsaved changes that were made to the management pack after it was loaded or after the last time the AcceptChanges() method was called.

public:
 void AcceptChanges();
public void AcceptChanges ();
member this.AcceptChanges : unit -> unit
Public Sub AcceptChanges ()

Remarks

If the Sealed property is true, the AcceptChanges method is not processed.

Changes are discarded if the AcceptChanges method is not called, and the object is garbage-collected.

Applies to

AcceptChanges(ManagementPackVerificationTypes)

Commits any unsaved changes that were made to the management pack after it was loaded or after the last time this method was called by using verification types.

public:
 void AcceptChanges(Microsoft::EnterpriseManagement::Configuration::IO::ManagementPackVerificationTypes verificationTypes);
public void AcceptChanges (Microsoft.EnterpriseManagement.Configuration.IO.ManagementPackVerificationTypes verificationTypes);
member this.AcceptChanges : Microsoft.EnterpriseManagement.Configuration.IO.ManagementPackVerificationTypes -> unit
Public Sub AcceptChanges (verificationTypes As ManagementPackVerificationTypes)

Parameters

verificationTypes
ManagementPackVerificationTypes

Specifies a verification type.

Applies to