Vault connection details.

Vault connection details.

gmetcalfe
Contributor Contributor
391 Views
2 Replies
Message 1 of 3

Vault connection details.

gmetcalfe
Contributor
Contributor

Is it possible to find out details of what vault a user is logged into without using unsupported methods mentioned in other posts? I am using Inventor 2011 and need to get simple connection details, server and database names will be fine.

 

Gav

0 Likes
392 Views
2 Replies
Replies (2)
Message 2 of 3

Rene-J
Collaborator
Collaborator

try this

 

Private Sub GetVaultcon()
Dim oDesignProject As DesignProject
Set oDesignProject = ThisApplication.DesignProjectManager.ActiveDesignProject
MsgBox oDesignProject.VaultName
MsgBox oDesignProject.VaultServer

End Sub

 

René J

0 Likes
Message 3 of 3

gmetcalfe
Contributor
Contributor

Spot on, thankyou very much.

 

Gav

0 Likes