ManagementObject.Put ManagementObject.Put ManagementObject.Put ManagementObject.Put Method

Definition

Commits the changes to the object.

Overloads

Put() Put() Put() Put()

Commits the changes to the object.

Put(ManagementOperationObserver) Put(ManagementOperationObserver) Put(ManagementOperationObserver) Put(ManagementOperationObserver)

Commits the changes to the object, asynchronously.

Put(PutOptions) Put(PutOptions) Put(PutOptions) Put(PutOptions)

Commits the changes to the object.

Put(ManagementOperationObserver, PutOptions) Put(ManagementOperationObserver, PutOptions) Put(ManagementOperationObserver, PutOptions) Put(ManagementOperationObserver, PutOptions)

Commits the changes to the object asynchronously and using the specified options.

Put() Put() Put() Put()

Commits the changes to the object.

public:
 System::Management::ManagementPath ^ Put();
public System.Management.ManagementPath Put ();
member this.Put : unit -> System.Management.ManagementPath
Public Function Put () As ManagementPath

Returns

A ManagementPath containing the path to the committed object.

Remarks

.NET Framework Security

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

Put(ManagementOperationObserver) Put(ManagementOperationObserver) Put(ManagementOperationObserver) Put(ManagementOperationObserver)

Commits the changes to the object, asynchronously.

public:
 void Put(System::Management::ManagementOperationObserver ^ watcher);
public void Put (System.Management.ManagementOperationObserver watcher);
member this.Put : System.Management.ManagementOperationObserver -> unit
Public Sub Put (watcher As ManagementOperationObserver)

Parameters

Remarks

.NET Framework Security

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

Put(PutOptions) Put(PutOptions) Put(PutOptions) Put(PutOptions)

Commits the changes to the object.

public:
 System::Management::ManagementPath ^ Put(System::Management::PutOptions ^ options);
public System.Management.ManagementPath Put (System.Management.PutOptions options);
member this.Put : System.Management.PutOptions -> System.Management.ManagementPath
Public Function Put (options As PutOptions) As ManagementPath

Parameters

options
PutOptions PutOptions PutOptions PutOptions

The options for how to commit the changes.

Returns

A ManagementPath containing the path to the committed object.

Remarks

.NET Framework Security

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

Put(ManagementOperationObserver, PutOptions) Put(ManagementOperationObserver, PutOptions) Put(ManagementOperationObserver, PutOptions) Put(ManagementOperationObserver, PutOptions)

Commits the changes to the object asynchronously and using the specified options.

public:
 void Put(System::Management::ManagementOperationObserver ^ watcher, System::Management::PutOptions ^ options);
public void Put (System.Management.ManagementOperationObserver watcher, System.Management.PutOptions options);
member this.Put : System.Management.ManagementOperationObserver * System.Management.PutOptions -> unit
Public Sub Put (watcher As ManagementOperationObserver, options As PutOptions)

Parameters

options
PutOptions PutOptions PutOptions PutOptions

A PutOptions used to specify additional options for the commit operation.

Remarks

.NET Framework Security

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

Applies to