SOLIDWORKS PDM Professional API Help Send Feedback
GetVaultNameFromPath Method (IEdmVault5)
See Also  Example
EPDM.Interop.epdm Namespace > IEdmVault5 Interface : GetVaultNameFromPath Method (IEdmVault5)


bsPath
Full system path to a file or folder
Gets the name of the vault where the specified file or folder resides.

Syntax

Visual Basic 
Function GetVaultNameFromPath( _
   ByVal bsPath As System.String _
) As System.String
C# 
System.string GetVaultNameFromPath( 
   System.string bsPath
)
C++/CLI 
System.String^ GetVaultNameFromPath( 
&   System.String^ bsPath
) 

Parameters

bsPath
Full system path to a file or folder

Return Value

Vault name

Example

Remarks

You do not need to call IEdmVault5::Login or IEdmVault5::LoginAuto before calling this method.

Return codes: 

  • S_OK: The method successfully executed.
  • E_EDM_KEY_NOT_FOUND: The specified path is not in any vault.
 

See Also

Availability

SOLIDWORKS PDM Professional Version 5.2