<xml> </xml>

SOLIDWORKS PDM Professional API Help | Send Feedback
IEdmVault5 Interface
See Also Members Example

Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter: C# Language Filter: C++/CLI

EPDM.Interop.epdm Namespace : IEdmVault5 Interface

Visual Basic
C#
C++/CLI

Allows you to access a file vault.

NOTE: Click the Members link, located near the top of the topic, to see this interface's methods and properties.

# Syntax

Visual Basic |
--- | ---

    Public Interface IEdmVault5

C# |
--- | ---

    public interface IEdmVault5

C++/CLI |
--- | ---

    public interface class IEdmVault5

# Example

Destroy Deleted Files in Vault (C#)
Destroy Deleted Files in Vault (VB.NET)
Get and Set Folder Permissions (C#)
Get and Set Folder Permissions (VB.NET)
Traverse Folders and Files in Vault (C#)
Traverse Folders and Files in Vault (VB.NET)
Change Card Variables Add-in (VB.NET)
Change Card Variables Add-in (C#)
Create a Task that Finds Files in Workflow States (VB.NET)
Create a Task that Finds Files in Workflow States (C#)

# Remarks

This interface represents a SOLIDWORKS PDM Professional file vault. It is the highest-level interface within this API; most of the other interfaces in this API are retrieved from this interface either directly or indirectly.

Standalone programs using this API should first declare and create an instance of this interface. Because interfaces are abstract definitions and not implementations, they cannot be created directly using the New keyword.

The type library includes a creatable class called EdmVault5, which implements the IEdmVault5 interface.

You can create an instance of the EdmVault5 class with the New keyword, and because this class implements the IEdmVault5 interface, you can reference it with the variable declared as IEdmVault5 interface type. By convention, interface names begin with an uppercase letter I. Once the IEdmVault5 interface object is created, most of the other interface objects within this API are returned either directly or indirectly by methods and properties of the IEdmVault5 object or some other object that originated from it. Add-in programs are passed an IEdmVault5 object when the add-in is loaded and when needed.

To access this interface, stand-alone programs can:

- Obtain an instance through one of the accessors.
- Create an instance:

>     Dim vault as EdmVault5
>     vault = new EdmVault5

After obtaining an instance, programs must call IEdmVault5::Login or IEdmVault5::LoginAuto to establish a connection with the file vault.

This interface:

- inherits from IDispatch. See IDispatch Interface (Automation).
- is extended by IEdmVault6.

# Accessors

IEdmAddIn5::GetAddInInfo

IEdmFile5::Vault

IEdmFolder5::Vault

IEdmObject5::Vault

# See Also

####

IEdmVault5 Members
EPDM.Interop.epdm Namespace