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

Re: Re: Add Node to NCM via .NET

$
0
0

madhavan

 

Do you have a code example? I can't seem to get this to work... I have existing Connection profile, which is index 1, and try to set it like this:

System.Xml.XmlDocument xdoc = new System.Xml.XmlDocument();
System.Xml.XmlElement[] elem = new System.Xml.XmlElement[2];
System.Xml.XmlElement xel = xdoc.CreateElement("coreNodeId");
xel.InnerText = nodeID.ToString();
elem[0] = xel;
xel = xdoc.CreateElement("ConnectionProfile");
xel.InnerText = ConnectionProfile.ToString();
elem[1] = xel;
System.Xml.XmlElement result = orion.Invoke("Cirrus.Nodes", "UpdateSelectedNodeColumns", elem);

 

This doesn't seem to work?


Viewing all articles
Browse latest Browse all 20518

Trending Articles