Method Import
Import(byte[])
Imports the Parameter in the passed file.
public ProfileParameterImportResult Import(byte[] file)
Parameters
file
byte[]The file to import.
Returns
- ProfileParameterImportResult
The import result.
Remarks
If you export a profile parameter, all the mediation snippets linked to that parameter will also be exported.
If any parameters in the import would already exist on the system they will be overwritten by the value in the import package.
Exceptions
- InvalidDataException
If the passed
file
is not a valid import file.- InvalidProfileParameterException
If the passed
file
contains a profile parameter that could not be imported.- InvalidMediationSnippetException
If the passed
file
contains a mediation snippet that could not be imported.