Share via


CimSession.CreateInstance Method

Definition

Overloads

CreateInstance(String, CimInstance, CimOperationOptions)
CreateInstance(String, CimInstance)

CreateInstance(String, CimInstance, CimOperationOptions)

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

Parameters

namespaceName
String
instance
CimInstance

Returns

Applies to

CreateInstance(String, CimInstance)

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

Parameters

namespaceName
String
instance
CimInstance

Returns

Applies to