Click or drag to resize

ProfileManagerDeleteProfile Method

Deletes the given profile.

Namespace:  Com.Datalogic.Device.Configuration
Assembly:  datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public virtual int DeleteProfile(
	string name
)

Parameters

name
Type: SystemString
- String name of the profile file to be deleted.

Return Value

Type: Int32
int Success in case of success, otherwise a possible error code, matching one of the ConfigException error constants.
Exceptions
ExceptionCondition
ConfigException - in case of error, when exceptions are enabled through the ErrorManager singleton.
Remarks

Deletes the given profile. The method fails if the profile has FactoryResetPersistent

persistence or it is currently loaded or it is associated to a rule.

[Android Documentation]

See Also