Method SetProfileInstances
SetProfileInstances(IEnumerable<ProfileInstance>, ref bool, bool)
Adds or edits the specified profile instances.
public IEnumerable<ProfileInstance> SetProfileInstances(IEnumerable<ProfileInstance> instances, ref bool success, bool isDelete)
Parameters
instancesIEnumerable<ProfileInstance>The profile instances to add/edit.
successbooltrueif the profile instances were added/edited successfully; otherwise,false.isDeletebooltrueif the specified profile definitions should be deleted; otherwise,false.
Returns
- IEnumerable<ProfileInstance>
The added/edited profile instances.
SetProfileInstances(out string, params ProfileInstance[])
Adds or edits the specified profile instances.
public bool SetProfileInstances(out string error, params ProfileInstance[] instances)
Parameters
errorstringOutput string with notifications and/or errors that occurred.
instancesProfileInstance[]The profile instances to add/edit.
Returns
- bool
trueif the profile instances were added/edited successfully; otherwise,false.
SetProfileInstances(SetProfileInstanceMessage)
[Obsolete("Use the AddOrUpdate methods that don't use messages instead")]
public ProfileManagerResponseMessage SetProfileInstances(SetProfileInstanceMessage msg)
Parameters
msgSetProfileInstanceMessage
Returns
- ProfileManagerResponseMessage