CimSession.ModifyInstanceAsync Method (CimInstance)
Asynchronous method that updates an existing instance in the server represented by the session.
Namespace: Microsoft.Management.Infrastructure
Assembly: Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)
Syntax
public CimAsyncResult<CimInstance> ModifyInstanceAsync(
CimInstance instance
)
public:
CimAsyncResult<CimInstance^>^ ModifyInstanceAsync(
CimInstance^ instance
)
member ModifyInstanceAsync :
instance:CimInstance -> CimAsyncResult<CimInstance>
Public Function ModifyInstanceAsync (
instance As CimInstance
) As CimAsyncResult(Of CimInstance)
Parameters
instance
Type: Microsoft.Management.Infrastructure.CimInstanceA CimInstance object that represents the class name and key of the instance to be modified on the server.
Return Value
Type: Microsoft.Management.Infrastructure.Generic.CimAsyncResult<CimInstance>
A CimAsyncResult<T> object that represents an asynchronous operation that returns a single result.
See Also
ModifyInstanceAsync Overload
CimSession Class
Microsoft.Management.Infrastructure Namespace
Return to top