<?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 NetApp API OnTap 8.1.1 CifsLock in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/NetApp-API-OnTap-8-1-1-CifsLock/m-p/105520#M1499</link>
    <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm a starter developer and one of my new C# project its a bit hard for me.&lt;/P&gt;
&lt;P&gt;One of the functions of the&amp;nbsp;FileTransferService&amp;nbsp;I'm writing, must&amp;nbsp;result on&amp;nbsp;a list with all users connected&amp;nbsp;to files(or a specific file) hosted on our fileserver.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I looked on the &amp;nbsp;documentation that came with the api, and it looks like that &lt;STRONG&gt;CifsLock&lt;/STRONG&gt; is the class that i need.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem is that i don't know how to call back the result. What should i do? Invoke?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The meaning of this function is to break locks after that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My lockbreadk is finished and working:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;            LockBreak lb = new LockBreak();
            lb.FileName = filePath;
            LockBreakResult lbResult = lb.Invoke(na);&lt;/PRE&gt;
&lt;P class="p1"&gt;Can someone help me with that problem?&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;Thanks&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;Regards,&lt;/P&gt;
&lt;P class="p1"&gt;Jonathan&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jun 2025 04:13:44 GMT</pubDate>
    <dc:creator>JonathanP91</dc:creator>
    <dc:date>2025-06-05T04:13:44Z</dc:date>
    <item>
      <title>NetApp API OnTap 8.1.1 CifsLock</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/NetApp-API-OnTap-8-1-1-CifsLock/m-p/105520#M1499</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm a starter developer and one of my new C# project its a bit hard for me.&lt;/P&gt;
&lt;P&gt;One of the functions of the&amp;nbsp;FileTransferService&amp;nbsp;I'm writing, must&amp;nbsp;result on&amp;nbsp;a list with all users connected&amp;nbsp;to files(or a specific file) hosted on our fileserver.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I looked on the &amp;nbsp;documentation that came with the api, and it looks like that &lt;STRONG&gt;CifsLock&lt;/STRONG&gt; is the class that i need.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem is that i don't know how to call back the result. What should i do? Invoke?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The meaning of this function is to break locks after that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My lockbreadk is finished and working:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;            LockBreak lb = new LockBreak();
            lb.FileName = filePath;
            LockBreakResult lbResult = lb.Invoke(na);&lt;/PRE&gt;
&lt;P class="p1"&gt;Can someone help me with that problem?&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;Thanks&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;Regards,&lt;/P&gt;
&lt;P class="p1"&gt;Jonathan&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 04:13:44 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/NetApp-API-OnTap-8-1-1-CifsLock/m-p/105520#M1499</guid>
      <dc:creator>JonathanP91</dc:creator>
      <dc:date>2025-06-05T04:13:44Z</dc:date>
    </item>
  </channel>
</rss>

