共用方式為


CimSession.ModifyInstance Method

Definition

Overloads

ModifyInstance(String, CimInstance, CimOperationOptions)
ModifyInstance(String, CimInstance)
ModifyInstance(CimInstance)

ModifyInstance(String, CimInstance, CimOperationOptions)

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

Parameters

namespaceName
String
instance
CimInstance

Returns

Applies to

ModifyInstance(String, CimInstance)

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

Parameters

namespaceName
String
instance
CimInstance

Returns

Applies to

ModifyInstance(CimInstance)

public:
 Microsoft::Management::Infrastructure::CimInstance ^ ModifyInstance(Microsoft::Management::Infrastructure::CimInstance ^ instance);
public Microsoft.Management.Infrastructure.CimInstance ModifyInstance (Microsoft.Management.Infrastructure.CimInstance instance);
member this.ModifyInstance : Microsoft.Management.Infrastructure.CimInstance -> Microsoft.Management.Infrastructure.CimInstance
Public Function ModifyInstance (instance As CimInstance) As CimInstance

Parameters

instance
CimInstance

Returns

Applies to