Quantcast
Channel: THWACK: All Content - All Communities
Viewing all articles
Browse latest Browse all 13537

Unmanage via Code

$
0
0

I am trying to unmanage nodes when I create them and here is my code, but they do not go unmanaged, What am I missing?

 

try

                    {

                        DateTime.Now.ToString("MM-dd-yyyy");

                        await swisClient.InvokeAsync("Orion.Nodes", "Unmanage", "[N:\"" + nodeId + "\"" + ",\"" + DateTime.Now.ToString("MM-dd-yyyy") + " 12:00:00 AM \"" + ",\"" + DateTime.Now.AddMonths(2).ToString("MM-dd-yyyy") + " 12:00:00 AM \"" + ",\"" + " false" + "\"]");

}


Viewing all articles
Browse latest Browse all 13537

Trending Articles



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