如果没有ModuleInfo标记的app.config,我如何使用C#连接到具有Emc.Documentum.FS.Runtime的Documentum?
使用app.config的示例代码:如果没有ModuleInfo标记的app.config,我如何使用C#连接到具有Emc.Documentum.FS.Runtime的Documentum?,c#,.net,documentum,documentum6.5,C#,.net,Documentum,Documentum6.5,使用app.config的示例代码: ContextFactory contextFactory = ContextFactory.Instance; IServiceContext serviceContext = contextFactory.NewContext(); 我希望在代码中设置app.config节,而不是让API直接读取它 <Emc.Documentum> <FS> <ConfigObject type="Emc.Docume
ContextFactory contextFactory = ContextFactory.Instance;
IServiceContext serviceContext = contextFactory.NewContext();
我希望在代码中设置app.config节,而不是让API直接读取它
<Emc.Documentum>
<FS>
<ConfigObject type="Emc.Documentum.FS.Runtime.Impl.Configuration.ConfigObject, Emc.Documentum.FS.Runtime"
defaultModuleName="core" registryProviderModuleName="core" requireSignedUcfJars="true">
<ModuleInfo name="core" protocol="http" host="documentum.current.dev" port="9080" contextRoot="services"/>
<ModuleInfo name="search" protocol="http" host="documentum.current.dev" port="9080" contextRoot="services"/>
<ModuleInfo name="bpm" protocol="http" host="documentum.current.dev" port="9080" contextRoot="services"/>
<ModuleInfo name="collaboration" protocol="http" host="documentum.current.dev" port="9080" contextRoot="services" />
</ConfigObject>
</FS>
</Emc.Documentum>
您可以在Documentum开发者社区中找到答案:
*您可以在Documentum开发者社区中找到答案:
*谢谢,我找到了一篇关于这方面的文章,这篇文章应该使我们能够通过手动编辑AppConfig singleton类属性来配置我们需要的内容。谢谢,我找到了一篇关于这方面的文章,它应该使我们能够通过手动编辑AppConfig singleton类属性来配置我们需要的内容。