What is the correct method to find the location of the Server 2011 server share folder?
-
23 noiembrie 2011 22:11
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.
Toate mesajele
-
23 noiembrie 2011 23:04Moderator
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- Marcat ca răspuns de Nick AsseloosMVP, Moderator 24 noiembrie 2011 21:18
-
24 noiembrie 2011 00:19
Perfect! Eactly what I was looking for. Thanks Nick!