进行替代,从而仅对具有 IIS 8 的服务器启用“未能执行 FTP 服务器发现”规则
Microsoft.Windows.InternetInformationServices.6.2.FailedToPerformFTPServerDiscoveryOverride (RulePropertyOverride)
Element properties:
Source Code:
<RulePropertyOverride ID="Microsoft.Windows.InternetInformationServices.6.2.FailedToPerformFTPServerDiscoveryOverride" Context="Microsoft.Windows.InternetInformationServices.6.2.ComputerGroup" Enforced="false" Rule="Microsoft.Windows.InternetInformationServices.6.2.FailedToPerformFTPServerDiscovery" Property="Enabled">
<Value>true</Value>
</RulePropertyOverride>