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

I have some code written in 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!


0 Kudos
0 Replies