The Import Windows Management Instrumentation (WMI) class method, in System Center 2012 R2 Configuration Manager, imports the MLS statement as specified by the MLSFilepath parameter (in UNC format) into the System Center 2012 R2 Configuration Manager database.

The following syntax is simplified from Managed Object Format (MOF) code and defines the method.

SInt32 Import(
	 String MLSFilepath,
	 UInt32 Flags



Data type: StringQualifiers: [in]The UNC path of the .csv file to be imported.

Data type: UInt32Qualifiers: [in]Specifies the type of data the .csv file contains, specified by the MLSFilepath property.

Value Description


Microsoft licenses.

Non 0

Any non-Microsoft licenses.

Return Values

An SInt32 data type that is 0 to indicate success or non-zero to indicate failure.

For information about handling returned errors, see About Configuration Manager Errors.


Runtime Requirements

Development Requirements

See Also