Partilhar via


CimSession.DeleteInstance Method

Definition

Overloads

DeleteInstance(CimInstance)
DeleteInstance(String, CimInstance)
DeleteInstance(String, CimInstance, CimOperationOptions)

DeleteInstance(CimInstance)

public:
 void DeleteInstance(Microsoft::Management::Infrastructure::CimInstance ^ instance);
public void DeleteInstance (Microsoft.Management.Infrastructure.CimInstance instance);
member this.DeleteInstance : Microsoft.Management.Infrastructure.CimInstance -> unit
Public Sub DeleteInstance (instance As CimInstance)

Parameters

instance
CimInstance

Applies to

DeleteInstance(String, CimInstance)

public:
 void DeleteInstance(System::String ^ namespaceName, Microsoft::Management::Infrastructure::CimInstance ^ instance);
public void DeleteInstance (string namespaceName, Microsoft.Management.Infrastructure.CimInstance instance);
member this.DeleteInstance : string * Microsoft.Management.Infrastructure.CimInstance -> unit
Public Sub DeleteInstance (namespaceName As String, instance As CimInstance)

Parameters

namespaceName
String
instance
CimInstance

Applies to

DeleteInstance(String, CimInstance, CimOperationOptions)

public:
 void DeleteInstance(System::String ^ namespaceName, Microsoft::Management::Infrastructure::CimInstance ^ instance, Microsoft::Management::Infrastructure::Options::CimOperationOptions ^ options);
public void DeleteInstance (string namespaceName, Microsoft.Management.Infrastructure.CimInstance instance, Microsoft.Management.Infrastructure.Options.CimOperationOptions options);
member this.DeleteInstance : string * Microsoft.Management.Infrastructure.CimInstance * Microsoft.Management.Infrastructure.Options.CimOperationOptions -> unit
Public Sub DeleteInstance (namespaceName As String, instance As CimInstance, options As CimOperationOptions)

Parameters

namespaceName
String
instance
CimInstance

Applies to