以编程方式设置队列所有者 [英] Programmatically set queue owner

查看:112
本文介绍了以编程方式设置队列所有者的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在考虑使用PowerShell以编程方式更改队列的所有权,但是从研究来看,如果不使用本机代码,这似乎是不可能的@ http://groups.google.com/ group / microsoft.public.msmq.security / browse_thread / thread / 8489dd51bd29e954

I've been looking into changing the ownership of a queue programmatically using powershell, but from research it seems this is not possible without resorting to using native code as detailed @ http://groups.google.com/group/microsoft.public.msmq.security/browse_thread/thread/8489dd51bd29e954

我们也看到过这样做我操纵实际的队列属性的详细信息@ http://relatedterms.com/thread /153887/MSMQ%20permissions%20and%20.Net

Have also seen people doing so my manipulating the actual queue properties as detailed @ http://relatedterms.com/thread/153887/MSMQ%20permissions%20and%20.Net

有没有人设法使用powershell以编程方式更改私有队列的所有权,或者COM库是否提供此功能?

Has anyone managed to programmatically change ownership of a private queue using powershell or does the COM library provide this ability ?

 

提前致谢

Pat

 

 

推荐答案

这有帮助吗?

http://blogs.msdn.com/ B / johnbreakwell /存档/ 2009/06/12 /罐-I-写一个脚本到创建-A-队列功能于MSMQ和设置最权限-ON-it.aspx

干杯

John Breakwell

John Breakwell


这篇关于以编程方式设置队列所有者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆