Files
pdm/documentation/api_extracted/EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmVault11~CreateNewVault.html

352 lines
24 KiB
HTML

<html xmlns:mshelp="http://msdn.microsoft.com/mshelp">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<meta content="history" name="save">
<meta content="Innovasys Document! X (http://www.innovasys.com)" name="GENERATOR">
<title>CreateNewVault Method (IEdmVault11)</title>
<link href="stylesheets/dotnet2005.css" type="text/css" rel="stylesheet">
<script src="script/dotnet2005.js" type="text/javascript">
</script><xml>
<MSHelp:Keyword Index="F" Term="EPDM.Interop.epdm.IEdmVault11.CreateNewVault" />
<MSHelp:Attr Name="DevLang" Value="CSharp" />
<MSHelp:Attr Name="DevLang" Value="VB" />
<MSHelp:Attr Name="DevLang" Value="JScript" />
<MSHelp:Attr Name="TopicType" Value="kbSyntax"/>
<MSHelp:Attr Name="LinkGroup" Value="Help"/>
<MSHelp:Attr Name="Locale" Value="kbEnglish"/>
<MSHelp:Attr Name="HelpPriority" Value="1"/>
</xml>
<script src="script/hs-expandcollapse.js" type="text/javascript"></script>
<script src="script/hs-enlargeimage.js" type="text/javascript"></script>
<script src="script/swfobject.js" type="text/javascript"></script>
<script src="script/hs-common.js" type="text/javascript"></script>
<script src="script/hs-heading-expandcollapse.js" type="text/javascript"></script>
<script src="script/hs-tabstrip.js" type="text/javascript"></script>
</head>
<body id="dxBody" topmargin="0">
<form>
<input class="userDataStyle" id="userDataCache" type="hidden" name="userDataCache"> <input id="hiddenScrollOffset" type="hidden" name=
"hiddenScrollOffset"> <img id="collapseImage" style="DISPLAY: none; WIDTH: 0px; HEIGHT: 0px" src="dotnetimages/collapse.gif"> <img id="expandImage"
style="DISPLAY: none; WIDTH: 0px; HEIGHT: 0px" src="dotnetimages/expand.gif"> <img id="collapseAllImage" style="DISPLAY: none; WIDTH: 0px; HEIGHT: 0px"
src="dotnetimages/collapse.gif"> <img id="expandAllImage" style="DISPLAY: none; WIDTH: 0px; HEIGHT: 0px" src="dotnetimages/expand.gif"> <img id=
"dropDownImage" style="DISPLAY: none; WIDTH: 0px; HEIGHT: 0px" src="dotnetimages/drpdown.gif"> <img id="dropDownHoverImage" style=
"DISPLAY: none; WIDTH: 0px; HEIGHT: 0px" src="dotnetimages/drpdown_orange.gif"> <img id="copyImage" style="DISPLAY: none; WIDTH: 0px; HEIGHT: 0px" src=
"dotnetimages/copycode.gif"> <img id="copyHoverImage" style="DISPLAY: none; WIDTH: 0px; HEIGHT: 0px" src="dotnetimages/copycodeHighlight.gif">
</form>
<div id="pagetop">
<table id="pagetoptable1" width="100%">
<tbody>
<tr id="pagetoptable1row1">
<td align="left"><span id="projecttitle">SOLIDWORKS PDM Professional API Help</span></td>
<td align="right"><span id="feedbacklink"><a href="mailto:apihelp.feedback@3ds.com?subject=Documentation Feedback: EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmVault11~CreateNewVault.html">Send Feedback</a></span></td>
</tr>
<tr id="pagetoptable1row2">
<td align="left" colspan="2"><span id="pagetitle">CreateNewVault Method (IEdmVault11)</span></td>
</tr>
<tr id="pagetoptable1row3">
<td colspan="2"><a onclick="javascript:openSectionById('seeAlsoSectionHeader');" href="#seealsobookmark">
See Also</a>&nbsp;
<a href="#ExampleBookmark" onclick="javascript:openSectionById('exampleSectionHeader');">Example</a></td>
</tr>
</tbody>
</table>
<table id="pagetoptable2" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td><span id="toggleExpandedAll"><img class="toggleAll" id="toggleExpandedAllImage" src="dotnetimages/collapse.gif"> <label id=
"collapseAllLabel" style="DISPLAY: none" for="toggleExpandedAllImage">Collapse All</label> <label id="expandAllLabel" style="DISPLAY: none" for="toggleExpandedAllImage">
Expand All</label></span> <span id="languageFilterToolTip"
onmouseover='document.getElementById("languageFilterImage").src=document.getElementById("dropDownHoverImage").src;' style="CURSOR: default"
onfocusout='document.getElementById("languageFilterImage").src=document.getElementById("dropDownImage").src;' onclick=
"showBox('dxlanguagemenu',event,document.getElementById('languageFilterImage'))" onfocusin=
'document.getElementById("languageFilterImage").src=document.getElementById("dropDownHoverImage").src;' onmouseout=
'document.getElementById("languageFilterImage").src=document.getElementById("dropDownImage").src;'><img id="languageFilterImage" src=
"dotnetimages/drpdown.gif"> <label id="showAllLabel" style="DISPLAY: none" for="languageFilterImage">
Language Filter: All</label> <label id="multipleLabel" style=
"DISPLAY: none" for="languageFilterImage">Language Filter: Multiple</label>
<label id="VBLabel" for="languageFilterImage" style="display: none;">Language Filter: Visual Basic</label>
<label id="CSLabel" for="languageFilterImage" style="display: none;">Language Filter: C#</label>
<label id="CPP2005Label" for="languageFilterImage" style="display: none;">Language Filter: C++/CLI</label>
</span></td>
</tr>
</tbody>
</table><table width="100%" id="pagetopbreadcrumbs" cellspacing="0" cellpadding="0"><tr><td>
<a href="EPDM.Interop.epdm~EPDM.Interop.epdm_namespace.html">EPDM.Interop.epdm Namespace</a>
> <a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmVault11.html">IEdmVault11 Interface</a>
: CreateNewVault Method (IEdmVault11)</td></tr></table>
<div class="dxpopupbubble" id="dxlanguagemenu">
<input id="VBCheckbox" type="checkbox" name="languageFilter" onClick="setLanguage(this)" />
<label class="languageFilter" for="VBCheckbox">
Visual Basic
</label>
<br /><input id="CSCheckbox" type="checkbox" name="languageFilter" onClick="setLanguage(this)" />
<label class="languageFilter" for="CSCheckbox">
C#
</label>
<br /><input id="CPP2005Checkbox" type="checkbox" name="languageFilter" onClick="setLanguage(this)" />
<label class="languageFilter" for="CPP2005Checkbox">
C++/CLI
</label>
</div>
<div id="bsArchiveServer_box" class="dxpopupbubble">
<DL><DT class="popupbubble"><I>bsArchiveServer</I></DT>
<DD class="popupbubble">Name or IP number of the archive server computer; "" if the local comuter is the archive server</DD></DL>
</div>
<div id="bsArchiveServerUserName_box" class="dxpopupbubble">
<DL><DT class="popupbubble"><I>bsArchiveServerUserName</I></DT>
<DD class="popupbubble">Name of the Windows user who logs in to the archive server</DD></DL>
</div>
<div id="bsArchiveServerPassword_box" class="dxpopupbubble">
<DL><DT class="popupbubble"><I>bsArchiveServerPassword</I></DT>
<DD class="popupbubble">Password for the Windows user who logs in to the archive server</DD></DL>
</div>
<div id="bsVaultName_box" class="dxpopupbubble">
<DL><DT class="popupbubble"><I>bsVaultName</I></DT>
<DD class="popupbubble">Name of the vault to create</DD></DL>
</div>
<div id="bsDescription_box" class="dxpopupbubble">
<DL><DT class="popupbubble"><I>bsDescription</I></DT>
<DD class="popupbubble">Description of the vault; appears in the vault properties window in the administration tool</DD></DL>
</div>
<div id="bsArchiveRootFolder_box" class="dxpopupbubble">
<DL><DT class="popupbubble"><I>bsArchiveRootFolder</I></DT>
<DD class="popupbubble">Archive server vault folder; "" to use the default folder</DD></DL>
</div>
<div id="bsSQLServer_box" class="dxpopupbubble">
<DL><DT class="popupbubble"><I>bsSQLServer</I></DT>
<DD class="popupbubble">Name or IP number of the SQL Server computer</DD></DL>
</div>
<div id="bsSQLUserName_box" class="dxpopupbubble">
<DL><DT class="popupbubble"><I>bsSQLUserName</I></DT>
<DD class="popupbubble">Name of the user who logs in to the SQL Server computer</DD></DL>
</div>
<div id="bsSQLPassword_box" class="dxpopupbubble">
<DL><DT class="popupbubble"><I>bsSQLPassword</I></DT>
<DD class="popupbubble">Password for the user who logs in to the SQL Server computer</DD></DL>
</div>
<div id="bsSQLDatabaseName_box" class="dxpopupbubble">
<DL><DT class="popupbubble"><I>bsSQLDatabaseName</I></DT>
<DD class="popupbubble">Name of the SQL database for the new vault</DD></DL>
</div>
<div id="lDateFmt_box" class="dxpopupbubble">
<DL><DT class="popupbubble"><I>lDateFmt</I></DT>
<DD class="popupbubble">SQL Server date format code for the new vault (see <STRONG>Remarks</STRONG>)</DD></DL>
</div>
<div id="bsAdminUserPassword_box" class="dxpopupbubble">
<DL><DT class="popupbubble"><I>bsAdminUserPassword</I></DT>
<DD class="popupbubble">Password for the Admin user</DD></DL>
</div>
<div id="lEdmCreateVaultFlag_box" class="dxpopupbubble">
<DL><DT class="popupbubble"><I>lEdmCreateVaultFlag</I></DT>
<DD class="popupbubble">Combination of <A href="EPDM.Interop.epdm~EPDM.Interop.epdm.EdmCreateVaultFlag.html">EdmCreateVaultFlag</A> bits</DD></DL>
</div>
<div id="poCallback_box" class="dxpopupbubble">
<DL><DT class="popupbubble"><I>poCallback</I></DT>
<DD class="popupbubble">Optional pointer to a class that implements&nbsp;<A href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmCallback.html">IEdmCallback</A> to obtain progress information</DD></DL>
</div>
<div id="oExtra_box" class="dxpopupbubble">
<DL><DT class="popupbubble"><I>oExtra</I></DT>
<DD class="popupbubble">(see <STRONG>Remarks</STRONG>)</DD></DL>
</div>
</div>
<div id="pagebody" valign="bottom">
<a name="topBookmark"></a>
<div id="mainbody">
<div class="saveHistory" id="allHistory" onsave="saveAll()" onload="loadAll()"></div>
Creates a new vault.
<h1 class="heading"><span class="expandcollapse" tabindex="0"><img id="syntaxToggle" class="toggle" name="toggleSwitch" src="dotnetimages/collapse.gif"></img>Syntax</span></h1><div id="syntaxSection" class="section" name="collapseableSection"><DIV class=LanguageSpecific id=Syntax_VB><table class="syntaxtable" width="100%" cellpadding="0" cellspacing="0"><tr><th>Visual Basic</th><th>&nbsp;</th></tr><tr><td colspan="2"><pre>Sub CreateNewVault( _
&nbsp;&nbsp;&nbsp;ByVal <i><a class="parameter" id="bsArchiveServer" href="#" onclick="javascript:showParamBox(event);">bsArchiveServer</a></i> As System.String, _
&nbsp;&nbsp;&nbsp;ByVal <i><a class="parameter" id="bsArchiveServerUserName" href="#" onclick="javascript:showParamBox(event);">bsArchiveServerUserName</a></i> As System.String, _
&nbsp;&nbsp;&nbsp;ByVal <i><a class="parameter" id="bsArchiveServerPassword" href="#" onclick="javascript:showParamBox(event);">bsArchiveServerPassword</a></i> As System.String, _
&nbsp;&nbsp;&nbsp;ByVal <i><a class="parameter" id="bsVaultName" href="#" onclick="javascript:showParamBox(event);">bsVaultName</a></i> As System.String, _
&nbsp;&nbsp;&nbsp;ByVal <i><a class="parameter" id="bsDescription" href="#" onclick="javascript:showParamBox(event);">bsDescription</a></i> As System.String, _
&nbsp;&nbsp;&nbsp;ByVal <i><a class="parameter" id="bsArchiveRootFolder" href="#" onclick="javascript:showParamBox(event);">bsArchiveRootFolder</a></i> As System.String, _
&nbsp;&nbsp;&nbsp;ByVal <i><a class="parameter" id="bsSQLServer" href="#" onclick="javascript:showParamBox(event);">bsSQLServer</a></i> As System.String, _
&nbsp;&nbsp;&nbsp;ByVal <i><a class="parameter" id="bsSQLUserName" href="#" onclick="javascript:showParamBox(event);">bsSQLUserName</a></i> As System.String, _
&nbsp;&nbsp;&nbsp;ByVal <i><a class="parameter" id="bsSQLPassword" href="#" onclick="javascript:showParamBox(event);">bsSQLPassword</a></i> As System.String, _
&nbsp;&nbsp;&nbsp;ByVal <i><a class="parameter" id="bsSQLDatabaseName" href="#" onclick="javascript:showParamBox(event);">bsSQLDatabaseName</a></i> As System.String, _
&nbsp;&nbsp;&nbsp;ByVal <i><a class="parameter" id="lDateFmt" href="#" onclick="javascript:showParamBox(event);">lDateFmt</a></i> As System.Integer, _
&nbsp;&nbsp;&nbsp;ByVal <i><a class="parameter" id="bsAdminUserPassword" href="#" onclick="javascript:showParamBox(event);">bsAdminUserPassword</a></i> As System.String, _
&nbsp;&nbsp;&nbsp;ByVal <i><a class="parameter" id="lEdmCreateVaultFlag" href="#" onclick="javascript:showParamBox(event);">lEdmCreateVaultFlag</a></i> As System.Integer, _
&nbsp;&nbsp;&nbsp;ByVal <i><a class="parameter" id="poCallback" href="#" onclick="javascript:showParamBox(event);">poCallback</a></i> As EdmCallback, _
&nbsp;&nbsp;&nbsp;Optional ByVal <i><a class="parameter" id="oExtra" href="#" onclick="javascript:showParamBox(event);">oExtra</a></i> As System.Object _
) </pre></tr></table></div>
<DIV class=LanguageSpecific id=Syntax_CS><table class="syntaxtable" width="100%" cellpadding="0" cellspacing="0"><tr><th>C#</th><th>&nbsp;</th></tr><tr><td colspan="2"><pre>void CreateNewVault(
&nbsp;&nbsp;&nbsp;System.string <i><a class="parameter" id="bsArchiveServer" href="#" onclick="javascript:showParamBox(event);">bsArchiveServer</a></i>,
&nbsp;&nbsp;&nbsp;System.string <i><a class="parameter" id="bsArchiveServerUserName" href="#" onclick="javascript:showParamBox(event);">bsArchiveServerUserName</a></i>,
&nbsp;&nbsp;&nbsp;System.string <i><a class="parameter" id="bsArchiveServerPassword" href="#" onclick="javascript:showParamBox(event);">bsArchiveServerPassword</a></i>,
&nbsp;&nbsp;&nbsp;System.string <i><a class="parameter" id="bsVaultName" href="#" onclick="javascript:showParamBox(event);">bsVaultName</a></i>,
&nbsp;&nbsp;&nbsp;System.string <i><a class="parameter" id="bsDescription" href="#" onclick="javascript:showParamBox(event);">bsDescription</a></i>,
&nbsp;&nbsp;&nbsp;System.string <i><a class="parameter" id="bsArchiveRootFolder" href="#" onclick="javascript:showParamBox(event);">bsArchiveRootFolder</a></i>,
&nbsp;&nbsp;&nbsp;System.string <i><a class="parameter" id="bsSQLServer" href="#" onclick="javascript:showParamBox(event);">bsSQLServer</a></i>,
&nbsp;&nbsp;&nbsp;System.string <i><a class="parameter" id="bsSQLUserName" href="#" onclick="javascript:showParamBox(event);">bsSQLUserName</a></i>,
&nbsp;&nbsp;&nbsp;System.string <i><a class="parameter" id="bsSQLPassword" href="#" onclick="javascript:showParamBox(event);">bsSQLPassword</a></i>,
&nbsp;&nbsp;&nbsp;System.string <i><a class="parameter" id="bsSQLDatabaseName" href="#" onclick="javascript:showParamBox(event);">bsSQLDatabaseName</a></i>,
&nbsp;&nbsp;&nbsp;System.int <i><a class="parameter" id="lDateFmt" href="#" onclick="javascript:showParamBox(event);">lDateFmt</a></i>,
&nbsp;&nbsp;&nbsp;System.string <i><a class="parameter" id="bsAdminUserPassword" href="#" onclick="javascript:showParamBox(event);">bsAdminUserPassword</a></i>,
&nbsp;&nbsp;&nbsp;System.int <i><a class="parameter" id="lEdmCreateVaultFlag" href="#" onclick="javascript:showParamBox(event);">lEdmCreateVaultFlag</a></i>,
&nbsp;&nbsp;&nbsp;EdmCallback <i><a class="parameter" id="poCallback" href="#" onclick="javascript:showParamBox(event);">poCallback</a></i>,
&nbsp;&nbsp;&nbsp;System.object <i><a class="parameter" id="oExtra" href="#" onclick="javascript:showParamBox(event);">oExtra</a></i>
)</pre></tr></table></div>
<DIV class=LanguageSpecific id=Syntax_CPP2005><table class="syntaxtable" width="100%" cellpadding="0" cellspacing="0"><tr><th>C++/CLI</th><th>&nbsp;</th></tr><tr><td colspan="2"><pre>void CreateNewVault(
&&nbsp;&nbsp;&nbsp;System.String^ <i><a class="parameter" id="bsArchiveServer" href="#" onclick="javascript:showParamBox(event);">bsArchiveServer</a></i>,
&&nbsp;&nbsp;&nbsp;System.String^ <i><a class="parameter" id="bsArchiveServerUserName" href="#" onclick="javascript:showParamBox(event);">bsArchiveServerUserName</a></i>,
&&nbsp;&nbsp;&nbsp;System.String^ <i><a class="parameter" id="bsArchiveServerPassword" href="#" onclick="javascript:showParamBox(event);">bsArchiveServerPassword</a></i>,
&&nbsp;&nbsp;&nbsp;System.String^ <i><a class="parameter" id="bsVaultName" href="#" onclick="javascript:showParamBox(event);">bsVaultName</a></i>,
&&nbsp;&nbsp;&nbsp;System.String^ <i><a class="parameter" id="bsDescription" href="#" onclick="javascript:showParamBox(event);">bsDescription</a></i>,
&&nbsp;&nbsp;&nbsp;System.String^ <i><a class="parameter" id="bsArchiveRootFolder" href="#" onclick="javascript:showParamBox(event);">bsArchiveRootFolder</a></i>,
&&nbsp;&nbsp;&nbsp;System.String^ <i><a class="parameter" id="bsSQLServer" href="#" onclick="javascript:showParamBox(event);">bsSQLServer</a></i>,
&&nbsp;&nbsp;&nbsp;System.String^ <i><a class="parameter" id="bsSQLUserName" href="#" onclick="javascript:showParamBox(event);">bsSQLUserName</a></i>,
&&nbsp;&nbsp;&nbsp;System.String^ <i><a class="parameter" id="bsSQLPassword" href="#" onclick="javascript:showParamBox(event);">bsSQLPassword</a></i>,
&&nbsp;&nbsp;&nbsp;System.String^ <i><a class="parameter" id="bsSQLDatabaseName" href="#" onclick="javascript:showParamBox(event);">bsSQLDatabaseName</a></i>,
&&nbsp;&nbsp;&nbsp;System.int <i><a class="parameter" id="lDateFmt" href="#" onclick="javascript:showParamBox(event);">lDateFmt</a></i>,
&&nbsp;&nbsp;&nbsp;System.String^ <i><a class="parameter" id="bsAdminUserPassword" href="#" onclick="javascript:showParamBox(event);">bsAdminUserPassword</a></i>,
&&nbsp;&nbsp;&nbsp;System.int <i><a class="parameter" id="lEdmCreateVaultFlag" href="#" onclick="javascript:showParamBox(event);">lEdmCreateVaultFlag</a></i>,
&&nbsp;&nbsp;&nbsp;EdmCallback^ <i><a class="parameter" id="poCallback" href="#" onclick="javascript:showParamBox(event);">poCallback</a></i>,
&&nbsp;&nbsp;&nbsp;System.Object^ <i><a class="parameter" id="oExtra" href="#" onclick="javascript:showParamBox(event);">oExtra</a></i>
) </pre></tr></table></div>
<h4 class=dxh4>Parameters</h4><DL><DT><I>bsArchiveServer</I></DT>
<DD>Name or IP number of the archive server computer; "" if the local comuter is the archive server</DD><DT><I>bsArchiveServerUserName</I></DT>
<DD>Name of the Windows user who logs in to the archive server</DD><DT><I>bsArchiveServerPassword</I></DT>
<DD>Password for the Windows user who logs in to the archive server</DD><DT><I>bsVaultName</I></DT>
<DD>Name of the vault to create</DD><DT><I>bsDescription</I></DT>
<DD>Description of the vault; appears in the vault properties window in the administration tool</DD><DT><I>bsArchiveRootFolder</I></DT>
<DD>Archive server vault folder; "" to use the default folder</DD><DT><I>bsSQLServer</I></DT>
<DD>Name or IP number of the SQL Server computer</DD><DT><I>bsSQLUserName</I></DT>
<DD>Name of the user who logs in to the SQL Server computer</DD><DT><I>bsSQLPassword</I></DT>
<DD>Password for the user who logs in to the SQL Server computer</DD><DT><I>bsSQLDatabaseName</I></DT>
<DD>Name of the SQL database for the new vault</DD><DT><I>lDateFmt</I></DT>
<DD>SQL Server date format code for the new vault (see <STRONG>Remarks</STRONG>)</DD><DT><I>bsAdminUserPassword</I></DT>
<DD>Password for the Admin user</DD><DT><I>lEdmCreateVaultFlag</I></DT>
<DD>Combination of <A href="EPDM.Interop.epdm~EPDM.Interop.epdm.EdmCreateVaultFlag.html">EdmCreateVaultFlag</A> bits</DD><DT><I>poCallback</I></DT>
<DD>Optional pointer to a class that implements&nbsp;<A href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmCallback.html">IEdmCallback</A> to obtain progress information</DD><DT><I>oExtra</I></DT>
<DD>(see <STRONG>Remarks</STRONG>)</DD></DL>
</div>
<a name="exampleBookmark"></a>
<h1 class="heading"><span class="expandcollapse" tabindex="0"><img id="exampleToggle" class="toggle" name="toggleSwitch" src="dotnetimages/collapse.gif"></img>Example</span></h1><div id="exampleSection" class="section" name="collapseableSection"><a href="Create_New_Vault_Example_VBNET.htm">Create New Vault (VB.NET)</a>
<br/><a href="Create_New_Vault_Example_CSharp.htm">Create New Vault (C#)</a>
</div>
<h1 class="heading"><span class="expandcollapse" tabindex="0"><img id="remarksToggle" class="toggle" name="toggleSwitch" src="dotnetimages/collapse.gif"></img>Remarks</span></h1><div id="remarksSection" class="section" name="collapseableSection"><P>See the CAST/CONVERT documentation in the SQL Server online help to learn more about the date format codes for lDateFmt. The following table lists the valid values for lDateFmt:</P>
<P></P>
<TABLE>
<THEAD>
<TR>
<TH>Date Codes</TH>
<TH>Date Format</TH></TR></THEAD>
<TBODY>
<TR>
<TD>1</TD>
<TD>12/31/99</TD></TR>
<TR>
<TD>2</TD>
<TD>99.12.31</TD></TR>
<TR>
<TD>3</TD>
<TD>31/12/99</TD></TR>
<TR>
<TD>4</TD>
<TD>31.12.99</TD></TR>
<TR>
<TD>5</TD>
<TD>31-12-99</TD></TR>
<TR>
<TD>6</TD>
<TD>31 Dec 99</TD></TR>
<TR>
<TD>7</TD>
<TD>Dec 31, 99</TD></TR>
<TR>
<TD>10</TD>
<TD>12-31-99</TD></TR>
<TR>
<TD>11</TD>
<TD>99/12/31</TD></TR>
<TR>
<TD>12</TD>
<TD>991231</TD></TR>
<TR>
<TD>102</TD>
<TD>1999.12.31</TD></TR>
<TR>
<TD>103</TD>
<TD>31/12/1999</TD></TR>
<TR>
<TD>104</TD>
<TD>31.12.1999</TD></TR>
<TR>
<TD>105</TD>
<TD>31-12-1999</TD></TR>
<TR>
<TD>106</TD>
<TD>31 Dec 1999</TD></TR>
<TR>
<TD>107</TD>
<TD>Dec 31, 1999</TD></TR>
<TR>
<TD>110</TD>
<TD>12-31-1999</TD></TR>
<TR>
<TD>111</TD>
<TD>1999/12/31</TD></TR>
<TR>
<TD>112</TD>
<TD>19991231</TD></TR>
<TR>
<TD>120</TD>
<TD>1999-12-31</TD></TR></TBODY></TABLE>
<P></P>
<P>Specify oExtra with one of the following:</P>
<UL>
<LI>VT_BSTR containing either a CEX-file path to set up the vault with data from the export file or a valid vault configuration name like "Default", "Empty" or "SOLIDWORKS Quick Start"; for valid configuration names, see the <STRONG>Configure Vault</STRONG> step in the vault creation wizard&nbsp;of the administration tool
<LI>VT_EMPTY to use default configuration</LI></UL>
<P><A href="ReturnCodes.htm">Return codes:</A>&nbsp;</P>
<UL>
<LI>S_OK: The method successfully executed.
<LI>E_EDM_VAULT_ALREADY_EXISTS: There is already a file vault with the specified name on the archive server.
<LI>E_EDM_INVALID_VAULT_NAME: The vault name contains invalid characters or is longer than 31 characters. See the SOLIDWORKS PDM Professional administrative help for restrictions on valid characters in vault names.
<LI>E_EDM_ARCHIVE_ROOT_FOLDER_DOES_NOT_EXIST: The root folder specified in bsArchiveRootFolder does not exist.
<LI>E_EDM_INVALID_DATABASE_NAME: The specified SQL database name is invalid. See the SOLIDWORKS PDM Professional administrative help or the Microsoft SQL Server help for restrictions regarding database names.
<LI>E_EDM_INSUFFICIENT_SQL_PERMISSION: The specified SQL user lacks permission to create a new database. (He or she&nbsp;must typically be a member of the sysadmin group.)
<LI>E_EDM_SQLSERVER_UNSUPPORTED_VERSION: The SQL server version is not supported. (SQL Server 2000 is not supported by SOLIDWORKS PDM Professional&nbsp; 2010.)
<LI>E_EDM_DATABASE_ALREADY_EXISTS: There is already an SQL database with the suggested name.
<LI>E_EDM_SQLSERVER_LOGIN_FAILED: The provided SQL credentials are not valid.
<LI>E_EDM_SQLSERVER_CANNOT_CONNECT: General failure connecting to the SQL-server machine. Maybe the name/IP contains a typo?
<LI>E_EDM_INVALID_DATE_FORMAT_CODE: The lDateFmt argument is invalid.</LI></UL></div>&nbsp;
<a name="seealsobookmark"></a>
<h1 class="heading"><span class="expandcollapse" tabindex="0"><img id="seealsoToggle" class="toggle" name="toggleSwitch" src="dotnetimages/collapse.gif"></img>See Also</span></h1><div id="seealsoSection" class="section" name="collapseableSection"><h4 class="dxh4"></h4><a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmVault11.html">IEdmVault11 Interface</a>
<br/><a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmVault11_members.html">IEdmVault11 Members</a>
<br/><a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmVault11~CreateNewVaultView.html">IEdmVault11::CreateNewVaultView Method ()</a>
</p>
</div>
<h1 class="heading"><span class="expandcollapse" tabindex="0"><img id="availabilityToggle" class="toggle" name="toggleSwitch" src="dotnetimages/collapse.gif"></img>Availability</span></h1><div id="availabilitySection" class="section" name="collapseableSection">SOLIDWORKS PDM Professional 2010</div>
</div>
<div id="pagefooter"></div>
</div>
</body>
</html>