Rediger

Del via


ManagementObject.Put Method

Definition

Commits the changes to the object.

Overloads

Put()

Commits the changes to the object.

Put(ManagementOperationObserver)

Commits the changes to the object, asynchronously.

Put(PutOptions)

Commits the changes to the object.

Put(ManagementOperationObserver, PutOptions)

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

Put()

Source:
ManagementObject.cs
Source:
ManagementObject.cs

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.

Applies to

Put(ManagementOperationObserver)

Source:
ManagementObject.cs
Source:
ManagementObject.cs

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

watcher
ManagementOperationObserver

A ManagementOperationObserver used to handle the progress and results of the asynchronous 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

Put(PutOptions)

Source:
ManagementObject.cs
Source:
ManagementObject.cs

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

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.

Applies to

Put(ManagementOperationObserver, PutOptions)

Source:
ManagementObject.cs
Source:
ManagementObject.cs

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

watcher
ManagementOperationObserver

A ManagementOperationObserver used to handle the progress and results of the asynchronous operation.

options
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