Exist uuid

Description

Checks if a unit with the specified uuid exists.


Syntax

ExistUUID(Byval Uuid as String) as Boolean


Parameters

Uuid (String)

The uuid of the unit to check for in this format.: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX


Return Value

Boolean. The function returns True if the the uuid if present in the database, otherwise false.


Example

VBScript
 Set oCMS = CreateObject("CapaInstaller.SDK") 
wscript.echo oCMS.SetDefaultManagementPoint("1") 
Wscript.echo oCMS.ExistUUID("E3FBEC1E-32AC-4E51-AB9F-A644CD9F0A6B")