What is the correct method to find the location of the Server 2011 server share folder?
-
Wednesday, November 23, 2011 10:11 PM
I'm developing an add-in and need to locate the path the the server share folder (typically d:\ServerFolders). I have not found an api yet (hopefully I just overlooked it). I have found the server share folder in the windows registry in a few locations but I'm not sure that would give me correct results on all servers.
Thank you.
All Replies
-
Wednesday, November 23, 2011 11:04 PMModerator
Hi Joe,
Did you check out the class StorageManager: http://msdn.microsoft.com/en-us/library/microsoft.windowsserversolutions.storage.storagemanager_members.aspx
It has a property 'Folders'.
Cheers,
Nick
Nick Asseloos MVP Windows Home Server- Marked As Answer by Nick AsseloosMVP, Moderator Thursday, November 24, 2011 9:18 PM
-
Thursday, November 24, 2011 12:19 AM
Perfect! Eactly what I was looking for. Thanks Nick!