Partager via


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

Return Value

Type: Microsoft.Management.Infrastructure.CimInstance

The modified CimInstance object.

See Also

ModifyInstance Overload
CimSession Class
Microsoft.Management.Infrastructure Namespace

Return to top