Hide Table of Contents
CreateNewVaultView Method (IEdmVault11)

Creates a local view of a file vault in File Explorer.

Syntax

Visual Basic (Declaration) 
Sub CreateNewVaultView( _
   ByVal bsArchiveServer As System.String, _
   ByVal bsArchiveServerUserName As System.String, _
   ByVal bsArchiveServerPassword As System.String, _
   ByVal bsVaultName As System.String, _
   ByVal bsParentFolderPath As System.String, _
   ByVal lEdmCreateVaultViewFlag As System.Integer _
) 
C# 
void CreateNewVaultView( 
   System.string bsArchiveServer,
   System.string bsArchiveServerUserName,
   System.string bsArchiveServerPassword,
   System.string bsVaultName,
   System.string bsParentFolderPath,
   System.int lEdmCreateVaultViewFlag
)
C++/CLI 
void CreateNewVaultView( 
&   System.String^ bsArchiveServer,
&   System.String^ bsArchiveServerUserName,
&   System.String^ bsArchiveServerPassword,
&   System.String^ bsVaultName,
&   System.String^ bsParentFolderPath,
&   System.int lEdmCreateVaultViewFlag
) 

Parameters

bsArchiveServer
Name or IP number of the archive server computer; "" if the local comuter is the archive server
bsArchiveServerUserName
Name of the Windows user who logs in to the archive server
bsArchiveServerPassword
Password for the Windows user who logs in to the archive server
bsVaultName
Name of the vault for which to create a view
bsParentFolderPath
Full system path to the parent folder of the view; a subfolder with the same name as the vault is created in the parent folder
lEdmCreateVaultViewFlag
Combination of EdmCreateVaultViewFlag bits

Example

Remarks

Return codes: 

  • S_OK: The method successfully executed.
  • E_EDM_FOLDER_NOT_FOUND: The parent folder does not exist.
  • E_EDM_VERSION_MISMATCH: The client version and the archive server version do not match.
  • E_EDM_FVC_CANT_WRITE_TO_REGISTRY: Failed to write to the system registry. Possibly you are trying to create a shared view, and the logged-in Windows user lacks privileges to write to HKEY_LOCAL_MACHINE.
 

See Also

Availability

SOLIDWORKS PDM Professional 2010


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   CreateNewVaultView Method (IEdmVault11)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:




x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2023 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.