<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ManageOntap.dll vs netapp-manage.dll in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ManageOntap-dll-vs-netapp-manage-dll/m-p/103555#M1449</link>
    <description>&lt;P&gt;With the&amp;nbsp;ManageOntap.dll I am able to create a qtree with the following code:&lt;/P&gt;&lt;PRE&gt;			NaServer s = new NaServer(Configuration["Host"], 1, 7) {
				Style = NaServer.AUTH_STYLE.LOGIN_PASSWORD
			};
			s.SetAdminUser(Configuration["Username"], Configuration["Password"]);
			s.SetVfilerTunneling("some-svm-name");
			NaElement c = new NaElement("qtree-create");
			c.AddNewChild("volume", "volume_name");
			c.AddNewChild("qtree", "some_folder_name");
			c.AddNewChild("security-style", "ntfs");
			c.AddNewChild("oplocks", "enabled");
			NaElement r = s.InvokeElem(c);&lt;/PRE&gt;&lt;P&gt;How can I achieve the same functionality with the netapp-manage.dll?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The closest&amp;nbsp;I get&amp;nbsp;is:&lt;/P&gt;&lt;PRE&gt;			QtreeCreate create = new QtreeCreate();
			create.Volume = "volume_name";
			create.Qtree = "some_folder_name";
			create.SecurityStyle = "ntfs";
			create.Oplocks = "enabled";

			var server = new NaFiler(Configuration["Host"]) {
				Credentials = new NetworkCredential(Configuration["Username"], Configuration["Password"])
			};
			
			QtreeCreateResult res = create.Invoke(server);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;, however I can't find a way to specify&amp;nbsp;the vfiler.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jun 2025 04:30:44 GMT</pubDate>
    <dc:creator>newtonetapp</dc:creator>
    <dc:date>2025-06-05T04:30:44Z</dc:date>
    <item>
      <title>ManageOntap.dll vs netapp-manage.dll</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ManageOntap-dll-vs-netapp-manage-dll/m-p/103555#M1449</link>
      <description>&lt;P&gt;With the&amp;nbsp;ManageOntap.dll I am able to create a qtree with the following code:&lt;/P&gt;&lt;PRE&gt;			NaServer s = new NaServer(Configuration["Host"], 1, 7) {
				Style = NaServer.AUTH_STYLE.LOGIN_PASSWORD
			};
			s.SetAdminUser(Configuration["Username"], Configuration["Password"]);
			s.SetVfilerTunneling("some-svm-name");
			NaElement c = new NaElement("qtree-create");
			c.AddNewChild("volume", "volume_name");
			c.AddNewChild("qtree", "some_folder_name");
			c.AddNewChild("security-style", "ntfs");
			c.AddNewChild("oplocks", "enabled");
			NaElement r = s.InvokeElem(c);&lt;/PRE&gt;&lt;P&gt;How can I achieve the same functionality with the netapp-manage.dll?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The closest&amp;nbsp;I get&amp;nbsp;is:&lt;/P&gt;&lt;PRE&gt;			QtreeCreate create = new QtreeCreate();
			create.Volume = "volume_name";
			create.Qtree = "some_folder_name";
			create.SecurityStyle = "ntfs";
			create.Oplocks = "enabled";

			var server = new NaFiler(Configuration["Host"]) {
				Credentials = new NetworkCredential(Configuration["Username"], Configuration["Password"])
			};
			
			QtreeCreateResult res = create.Invoke(server);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;, however I can't find a way to specify&amp;nbsp;the vfiler.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 04:30:44 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ManageOntap-dll-vs-netapp-manage-dll/m-p/103555#M1449</guid>
      <dc:creator>newtonetapp</dc:creator>
      <dc:date>2025-06-05T04:30:44Z</dc:date>
    </item>
  </channel>
</rss>

