NetXMS Support Forum

English Support => General Support => Topic started by: zshnet on July 07, 2016, 08:53:01 PM

Title: NXshell - Get object managed state?
Post by: zshnet on July 07, 2016, 08:53:01 PM
Hi all,

I can see in the docs there's a SetObjectManaged call from NXCSession. Is there a way to get the managed state?

Thanks,
Zach
Title: Re: NXshell - Get object managed state?
Post by: Tatjana Dubrovica on July 08, 2016, 06:20:40 PM
"Unmanaged" is one of Object Statuses(ObjectStatus.UNMANAGED). You can call function "getStatus()" on any object that inherit AbstractObject class(for example Node class).
Title: Re: NXshell - Get object managed state?
Post by: zshnet on July 08, 2016, 06:38:54 PM
That's it! I didn't realize it was a status object, thank you for the help!

Thanks,
Zach