CimSession.ModifyInstance Method (CimInstance)
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 CimInstance ModifyInstance(
CimInstance instance
)
public:
CimInstance^ ModifyInstance(
CimInstance^ instance
)
member ModifyInstance :
instance:CimInstance -> CimInstance
Public Function ModifyInstance (
instance As CimInstance
) As 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.CimInstance
The modified CimInstance object.
See Also
ModifyInstance Overload
CimSession Class
Microsoft.Management.Infrastructure Namespace
Return to top