Condividi tramite


ManagementPack.AcceptChanges Method

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

Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

'Usage
Dim instance As ManagementPack

instance.AcceptChanges

Syntax

'Declaration
Public Sub AcceptChanges
public void AcceptChanges ()
public:
void AcceptChanges ()
public void AcceptChanges ()
public function 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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also

Reference

ManagementPack Class
ManagementPack Members
Microsoft.EnterpriseManagement.Configuration Namespace

Send comments about this topic to Microsoft.