简体   繁体   English

WebCommitDelay 和 IISCommitDelay 的区别

[英]Difference between WebCommitDelay and IISCommitDelay

What is the difference between WebCommitDelay and IISCommitDelay? WebCommitDelay 和 IISCommitDelay 有什么区别?

MS docs says the same for both: Instructs the IIS configuration system to delay the commitment of changes. MS 文档对两者都说同样的话: Instructs the IIS configuration system to delay the commitment of changes.

So what should I prefer and why?那么我应该更喜欢什么,为什么? It looks like they have some differences indeed, because if I use WebCommitDelay, I can't use New-WebApplication... -Force if the same application is exists, but I can do this if I use IISCommitDelay.看起来它们确实有一些差异,因为如果我使用 WebCommitDelay,我不能使用New-WebApplication... -Force如果存在相同的应用程序,但如果我使用 IISCommitDelay,我可以这样做。

As far as I know, the IISAdministration PowerShell module which was a new way to manage IIS.据我所知,IISAdministration PowerShell 模块是一种管理 IIS 的新方法。

This module included numerous improvements over the existing WebAdministration cmdlets.该模块包括对现有 WebAdministration cmdlet 的大量改进。

So the IISCommitDelay is the new method which is used to management the IIS.所以IISCommitDelay是用来管理IIS的新方法。

Detials, you could refer to this article .细节,你可以参考这篇文章

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM