共用方式為


CimSession.ModifyInstanceAsync Method

Definition

Overloads

ModifyInstanceAsync(CimInstance)
ModifyInstanceAsync(String, CimInstance)
ModifyInstanceAsync(String, CimInstance, CimOperationOptions)

ModifyInstanceAsync(CimInstance)

public:
 Microsoft::Management::Infrastructure::Generic::CimAsyncResult<Microsoft::Management::Infrastructure::CimInstance ^> ^ ModifyInstanceAsync(Microsoft::Management::Infrastructure::CimInstance ^ instance);
public Microsoft.Management.Infrastructure.Generic.CimAsyncResult<Microsoft.Management.Infrastructure.CimInstance> ModifyInstanceAsync (Microsoft.Management.Infrastructure.CimInstance instance);
member this.ModifyInstanceAsync : Microsoft.Management.Infrastructure.CimInstance -> Microsoft.Management.Infrastructure.Generic.CimAsyncResult<Microsoft.Management.Infrastructure.CimInstance>
Public Function ModifyInstanceAsync (instance As CimInstance) As CimAsyncResult(Of CimInstance)

Parameters

instance
CimInstance

Returns

Applies to

ModifyInstanceAsync(String, CimInstance)

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

Parameters

namespaceName
String
instance
CimInstance

Returns

Applies to

ModifyInstanceAsync(String, CimInstance, CimOperationOptions)

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

Parameters

namespaceName
String
instance
CimInstance

Returns

Applies to