What is the correct method to find the location of the Server 2011 server share folder?
-
2011年11月23日 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.
全部回复
-
2011年11月23日 23:04版主
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- 已标记为答案 Nick AsseloosMVP, Moderator 2011年11月24日 21:18
-
2011年11月24日 0:19
Perfect! Eactly what I was looking for. Thanks Nick!