Table of Contents

Method SetProfileInstances

Namespace
Skyline.DataMiner.Net.Profiles
Assembly
SLNetTypes.dll

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

instances IEnumerable<ProfileInstance>

The profile instances to add/edit.

success bool

true if the profile instances were added/edited successfully; otherwise, false.

isDelete bool

true if 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

error string

Output string with notifications and/or errors that occurred.

instances ProfileInstance[]

The profile instances to add/edit.

Returns

bool

true if 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

msg SetProfileInstanceMessage

Returns

ProfileManagerResponseMessage