Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This function is used to unlink a profile from a device. This will NOT remove the profile from the physical device. For that functionality, look at; this…..

Syntax

Code Block
languagevb
Public Function UnlinkUnitFromProfile(unitName As String, profileName As String, changelogComment As String) As Boolean

...

Code Block
languagevb
Set oCMS = CreateObject("CapaInstaller.SDK") 
Wscript.echo oCMS.SetDatabaseSettings("ServerName", "CapaInstaller", False)
Wscript.echo oCMS.SetDefaultManagementPoint("2")

Wscript.echo oCMS.UnlinkUnitFromProfile("Testdev01", "Wi-Fi settings", "AddedUnlinked profile tofrom device from SDK")
Wscript.echo oCMS.UnlinkUnitFromProfile("4eea2959-fb4c-4afe-b61f-810cb3019cd6", "Wi-Fi settings", "AddedUnlinked profile tofrom device from SDK")