使用 Microsoft.BizTalk.ExplorerOM 删除 BizTalk 程序集

发布于 2025-01-08 13:52:30 字数 243 浏览 3 评论 0原文

我制作了一个控制台,具有许多有关应用程序、端口等的功能。
我使用 Microsoft.BizTalk.ExplorerOM 程序集作为 biztalk 数据库的接口。

关键是程序集似乎有点“不完整”,因为我找不到任何方法从应用程序中删除程序集(或在管理控制台中调用的资源)。

有没有人能解决这个问题? (最好不要进行任何手动数据库黑客攻击)

我一直在谷歌和这里进行一些搜索,但令我惊讶的是似乎没有其他人遇到这个问题。

I have made a console with a number of features regarding applications, ports and so forth.

I am using the Microsoft.BizTalk.ExplorerOM assembly as an interface for the biztalk database.

The point is that the assembly seems slightly "incomplete" since i dont find any way to remove assemblies(or resources as they are called in administration console) from an application.

Is there anyone out there who has the solution for this?
(Preferably without doing any manual database hacks)

Ive been searching around for a bit both on google and here but im surprized nobody else seems to have this problem.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

时间你老了 2025-01-15 13:52:30

使用 btstask.exe 提供的 RemoveResource 命令。示例:

BTSTask RemoveResource /ApplicationName:MyApplication /Luid:"MyApp.Orchestrations, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0123456789ABCDEF"

对于 btstask.exe 的编程调用:

var p = new Process();
p.StartInfo = new ProcessStartInfo("btstask.exe", "RemoveResource /ApplicationName:" +     application + " /Luid:\"" + assemblyPath + "\"");
p.Start();
p.WaitForExit();

请注意使用 MSBTS_DeploymentService WMI 类,通常在 BizTalk 2004 中用于执行您想要实现的操作,因为它不支持应用程序容器的概念。

Use the RemoveResource command provided by btstask.exe. Example:

BTSTask RemoveResource /ApplicationName:MyApplication /Luid:"MyApp.Orchestrations, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0123456789ABCDEF"

For programmatic invocation of btstask.exe:

var p = new Process();
p.StartInfo = new ProcessStartInfo("btstask.exe", "RemoveResource /ApplicationName:" +     application + " /Luid:\"" + assemblyPath + "\"");
p.Start();
p.WaitForExit();

Beware using the MSBTS_DeploymentService WMI class, which was commonly used in BizTalk 2004 for doing what you are trying to achieve, as it does not support the concept of an Application container.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文