VMware {code} Community
thinkjohn
Contributor
Contributor

How can I extend the timeout when using VMware.Vim.dll to get Datastore details

I have some code written in vb.net that gets details about my datastore.  I use it track usage and find issues like orphaned .vmdk files.

Recently, one of the calls to HostDatastoreBrowser.SearchDatastoreSubFolders(DatastorePath, SearchSpec) has been generating an error that seems to be timeout related.

It fails after running for 30 minutes.

Is there any way to extend this timeout or make the search respond quicker?

Thanks for any help!

John

0 Kudos
0 Replies