Quantcast
Channel: THWACK: Message List
Viewing all articles
Browse latest Browse all 20958

Re: Re: Rediscovery via SWIS

$
0
0

Hi,

 

You can use client.Update method to update any property. Provided an example below for updating next rediscovery for Orion.Nodes.

 

var properties = new dictionary();
properties.Add(new item
{
key = "NextDiscovery",
type = "System.DateTime",
value = DateTime.Now.Add(new TimeSpan(1, 1, 0, 0))
});

 

client.Update("swis://dev-che-mjag-01./Orion/Orion.Nodes/NodeID=1", properties);

 

Also to know the list of verbs available for an entity, use the below mentioned query in swql studio.

 

SELECT Name, MethodName, CanInvoke, EntityName

FROM Metadata.Verb

where entityname = 'Orion.Nodes'


Viewing all articles
Browse latest Browse all 20958

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>