Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Asynchronous method that 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 CimAsyncResult<CimInstance> ModifyInstanceAsync(
string namespaceName,
CimInstance instance,
CimOperationOptions options
)
public:
CimAsyncResult<CimInstance^>^ ModifyInstanceAsync(
String^ namespaceName,
CimInstance^ instance,
CimOperationOptions^ options
)
member ModifyInstanceAsync :
namespaceName:string *
instance:CimInstance *
options:CimOperationOptions -> CimAsyncResult<CimInstance>
Public Function ModifyInstanceAsync (
namespaceName As String,
instance As CimInstance,
options As CimOperationOptions
) As CimAsyncResult(Of CimInstance)
Parameters
namespaceName
Type: System.StringA null-terminated string that contains the optional namespace name to carry out the operation. If none is specified, the server will pick a default. The namespace cannot include a computer name. It can only be in the form of a namespace name separated by a slash mark character (/). For example, the following would be a valid namespaceName value: root/cimv2.
instance
Type: Microsoft.Management.Infrastructure.CimInstanceA CimInstance object that represents the class name and key of the instance to be modified on the server.
options
Type: Microsoft.Management.Infrastructure.Options.CimOperationOptionsA CimOperationOptions object that specifies options, such as timeouts, and how to control the CIM semantics.
Return Value
Type: Microsoft.Management.Infrastructure.Generic.CimAsyncResult<CimInstance>
A CimAsyncResult<T> object that represents an asynchronous operation that returns a single result.
See Also
ModifyInstanceAsync Overload
CimSession Class
Microsoft.Management.Infrastructure Namespace
Return to top