CimSession.CreateInstance Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
 
- options
 - CimOperationOptions
 
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