CimSession.DeleteInstance Method (CimInstance)
Deletes an instance on the server represented by the session.
Namespace: Microsoft.Management.Infrastructure
Assembly: Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)
Syntax
public void DeleteInstance(
CimInstance instance
)
public:
void DeleteInstance(
CimInstance^ instance
)
member DeleteInstance :
instance:CimInstance -> unit
Public Sub DeleteInstance (
instance As CimInstance
)
Parameters
instance
Type: Microsoft.Management.Infrastructure.CimInstanceA CimInstance object that represents the class name and key of the instance to be deleted on the server.
See Also
DeleteInstance Overload
CimSession Class
Microsoft.Management.Infrastructure Namespace
Return to top