This topic has not yet been rated - Rate this topic

CimInstance.CimInstance(CimInstance) constructor

Initializes a new instance of the CimInstance class by creating a detailed copy of the specified CimInstance object.

 

Namespace: Microsoft.Management.Infrastructure

Assembly: Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)

Syntax


public CimInstance(
  CimInstance cimInstanceToClone
)

Parameters

cimInstanceToClone

Type: CimInstance

The CimInstance object to copy.

Remarks

This constructor provides a way to create CIM instances without communicating with a CIM server. This constructor is typically used when all the key properties of the instance are available and the client passes the instance as an argument of a CimSession method.

In contrast, you can use CimSession.Create and CimSession.CreateAsync to create a CIM instance on the CIM server.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Redistributable

Windows Management Framework 3.0 on Windows Server 2008 R2 with SP1, Windows 7 with SP1, and Windows Server 2008 with SP2

Namespace

Microsoft.Management.Infrastructure

See also

CimInstance
CimInstance(String)
CimInstance(String, String)
CimInstance(CimClass)

 

 

Build date: 12/6/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.