Initial Commit of the PDM project (ready for DWS migration)

This commit is contained in:
will
2026-04-20 08:42:38 -05:00
commit dda7b664e7
2721 changed files with 442772 additions and 0 deletions

View File

@@ -0,0 +1,250 @@
<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>SetSettingsVar Method (IEdmUserGroup9)</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.IEdmUserGroup9.SetSettingsVar" />
<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.IEdmUserGroup9~SetSettingsVar.html">Send Feedback</a></span></td>
</tr>
<tr id="pagetoptable1row2">
<td align="left" colspan="2"><span id="pagetitle">SetSettingsVar Method (IEdmUserGroup9)</span></td>
</tr>
<tr id="pagetoptable1row3">
<td colspan="2"><a onclick="javascript:openSectionById('seeAlsoSectionHeader');" href="#seealsobookmark">
See Also</a>&nbsp;
</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.IEdmUserGroup9.html">IEdmUserGroup9 Interface</a>
: SetSettingsVar Method (IEdmUserGroup9)</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="eVar_box" class="dxpopupbubble">
<DL><DT class="popupbubble"><I>eVar</I></DT>
<DD class="popupbubble">User group setting as defined by&nbsp;<A href="EPDM.Interop.epdm~EPDM.Interop.epdm.EdmGroupSetting.html">EdmGroupSetting</A></DD></DL>
</div>
<div id="pbsVal_box" class="dxpopupbubble">
<DL><DT class="popupbubble"><I>pbsVal</I></DT>
<DD class="popupbubble">Value of eVar</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>
Sets the specified user group setting.
<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 SetSettingsVar( _
&nbsp;&nbsp;&nbsp;ByVal <i><a class="parameter" id="eVar" href="#" onclick="javascript:showParamBox(event);">eVar</a></i> As <a href="EPDM.Interop.epdm~EPDM.Interop.epdm.EdmGroupSetting.html">EdmGroupSetting</a>, _
&nbsp;&nbsp;&nbsp;ByVal <i><a class="parameter" id="pbsVal" href="#" onclick="javascript:showParamBox(event);">pbsVal</a></i> As System.String _
) </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 SetSettingsVar(
&nbsp;&nbsp;&nbsp;<a href="EPDM.Interop.epdm~EPDM.Interop.epdm.EdmGroupSetting.html">EdmGroupSetting</a> <i><a class="parameter" id="eVar" href="#" onclick="javascript:showParamBox(event);">eVar</a></i>,
&nbsp;&nbsp;&nbsp;System.string <i><a class="parameter" id="pbsVal" href="#" onclick="javascript:showParamBox(event);">pbsVal</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 SetSettingsVar(
&&nbsp;&nbsp;&nbsp;<a href="EPDM.Interop.epdm~EPDM.Interop.epdm.EdmGroupSetting.html">EdmGroupSetting</a> <i><a class="parameter" id="eVar" href="#" onclick="javascript:showParamBox(event);">eVar</a></i>,
&&nbsp;&nbsp;&nbsp;System.String^ <i><a class="parameter" id="pbsVal" href="#" onclick="javascript:showParamBox(event);">pbsVal</a></i>
) </pre></tr></table></div>
<h4 class=dxh4>Parameters</h4><DL><DT><I>eVar</I></DT>
<DD>User group setting as defined by&nbsp;<A href="EPDM.Interop.epdm~EPDM.Interop.epdm.EdmGroupSetting.html">EdmGroupSetting</A></DD><DT><I>pbsVal</I></DT>
<DD>Value of eVar</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"><P class=auto-style2 style="mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"'>//Preconditions:</SPAN></P>
<P class=auto-style2 style="mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"'>//1. Create a C# console application in Visual Studio.</SPAN></P>
<P class=auto-style2 style="mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"'>//2. Add references EPDM.Interop.epdm and EPDM.Interop.EPDMResultCode to the project.</SPAN></P>
<P class=auto-style2 style="mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"'>//3. Copy the code below to Program.cs.</SPAN></P>
<P class=auto-style2 style="mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"'>//4. Change the namespace to match your project name.</SPAN></P>
<P class=auto-style2 style="mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"'>//5. Open the Admin Tool and add a user “A” and a user group “NewGroup”. Add a user to NewGroup.</SPAN></P>
<P class=auto-style2 style="mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"'>//6. Ensure that parameters of Login match your vault.</SPAN></P>
<P class=auto-style2 style="mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"'>//</SPAN></P>
<P class=auto-style2 style="mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"'>//Postconditions: </SPAN></P>
<P class=auto-style2 style="mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"'>//1. Open the Admin Tool.</SPAN></P>
<P class=auto-style2 style="mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"'>//2. Inspect the settings of user “A” to verify that reference files are not auto-selected to get latest when user A checks out a file.</SPAN></P>
<P class=auto-style2 style="mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"'>//3. Inspect the settings of user group “NewGroup” to verify that reference files are auto-selected to get latest when a user in user group NewGroup checks out a file.</SPAN></P>
<P class=auto-style1 style="MARGIN-BOTTOM: 0pt; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"'></SPAN>&nbsp;</P>
<P class=auto-style2 style="mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"'>//Program.cs:</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>using</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> System;</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>using</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> System.Text;</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>using</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> EPDM.Interop.epdm;</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>using</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> EPDM.Interop.EPDMResultCode;</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'></SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>namespace</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> project_name</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>{</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>class</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> </SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #2b91af'>Program</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'></SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>{</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'></SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>static</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> </SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>string</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> userName = </SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"Admin"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>;</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>static</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> </SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>string</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> vaultName = </SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"JEB12"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>;</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'></SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>static</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> </SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>string</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> updUser = </SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"A"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>;</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>static</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> </SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>string</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> updGroup = </SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"NewGroup"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>;</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>static</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> </SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>void</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> Main(</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>string</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>[] args)</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>{</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>StringBuilder sb = </SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>new</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> StringBuilder();</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>try</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'></SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>{</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>sb.AppendFormat(</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"UserName: {0}"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>, userName).AppendLine();</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>sb.AppendFormat(</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"VaultName: {0}"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>, vaultName).AppendLine();</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'></SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>IEdmVault11 vault = (IEdmVault11)(</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>new</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> EdmVault5());</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>if</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> (!vault.<STRONG>IsLoggedIn</STRONG>)</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>vault.<STRONG>Login</STRONG>(userName, </SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"password"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>, vaultName);</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'></SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>IEdmUserMgr9 userMgr = (IEdmUserMgr9)vault.<STRONG>CreateUtility</STRONG>(EdmUtility.EdmUtil_UserMgr);</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'></SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>var</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> userPos = userMgr.<STRONG>GetFirstUserPosition</STRONG>();</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>while</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> (!userPos.IsNull)</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>{</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>IEdmUser11 user = (IEdmUser11)userMgr.<STRONG>GetNextUser</STRONG>(userPos);</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>if</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> (user.Name == updUser)</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>{</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: green'>//user.SetSettingsVar(EdmUserSetting.EdmSv_AutoGetLatest, "1");</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'></SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: green'>//user.SetSettingsVar(EdmUserSetting.EdmSv_AutoDelete, "1");</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'></SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>user.<STRONG>SetSettingsVar</STRONG>(EdmUserSetting.EdmUSv_AutoGetLatestRefs, </SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"0"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>);</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'></SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>sb.AppendFormat(</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"Settings successfully updated for user {0}"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>, updUser).AppendLine();</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>break</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>;</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>}</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>}</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'></SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>var</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> groupPos = userMgr.<STRONG>GetFirstUserGroupPosition</STRONG>();</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>while</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> (!groupPos.IsNull)</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>{</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>IEdmUserGroup9 group = (IEdmUserGroup9)userMgr.<STRONG>GetNextUserGroup</STRONG>(groupPos);</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>if</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> (group.Name == updGroup)</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>{</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>group.<STRONG>SetSettingsVar</STRONG>(EdmGroupSetting.EdmGSv_AutoGetLatestRefs, </SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"1"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>);</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'></SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>sb.AppendFormat(</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"Settings successfully updated for group {0}"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>, updGroup);</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>break</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>;</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>}</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>}</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>}</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>catch</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> (System.Runtime.InteropServices.COMException ex)</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>{</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>var</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> errorType = </SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>typeof</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>(EdmResultErrorCodes_e);</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>if</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> (Enum.IsDefined(errorType, ex.ErrorCode))</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>sb.AppendFormat(</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"Edm error occurred: {0}"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>, Enum.GetName(errorType, ex.ErrorCode)).AppendLine();</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>else</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'></SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>sb.AppendLine(</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"HRESULT = 0x"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> + ex.ErrorCode.ToString(</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"X"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>) + </SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>" "</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> + ex.Message);</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>}</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>catch</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'> (Exception ex)</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>{</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>sb.AppendFormat(</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"Error occurred: {0}"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>, ex.Message).AppendLine();</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>}</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'></SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Console.WriteLine(sb.ToString());</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;</SPAN><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Console.WriteLine(</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"Please press any key to exit"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>);</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Console.ReadKey();</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>}</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>}</SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>}</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"'></SPAN></P>
</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.IEdmUserGroup9.html">IEdmUserGroup9 Interface</a>
<br/><a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmUserGroup9_members.html">IEdmUserGroup9 Members</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 2022</div>
</div>
<div id="pagefooter"></div>
</div>
</body>
</html>