NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Software Development Kit (SDK) and API Discussions

NetApp API OnTap 8.1.1 CifsLock

JonathanP91
2,178 Views

Hello Everyone,

 

I'm a starter developer and one of my new C# project its a bit hard for me.

One of the functions of the FileTransferService I'm writing, must result on a list with all users connected to files(or a specific file) hosted on our fileserver.

 

I looked on the  documentation that came with the api, and it looks like that CifsLock is the class that i need.

 

The problem is that i don't know how to call back the result. What should i do? Invoke?

 

 

The meaning of this function is to break locks after that.

 

My lockbreadk is finished and working:

 

            LockBreak lb = new LockBreak();
            lb.FileName = filePath;
            LockBreakResult lbResult = lb.Invoke(na);

Can someone help me with that problem?

 

Thanks

 

Regards,

Jonathan

0 REPLIES 0
Public