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
);

Parameters

MLSFilepath

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

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

Value Description

0

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.

Requirements

Runtime Requirements

Development Requirements

See Also