Ativar Rastreio de Pedidos Falhados
Microsoft.Windows.InternetInformationServices.10.0.WebSite.EnableFailedRequestTracing.Task (Task)
Esta tarefa irá ativar o Rastreio de Pedidos Falhados para o Web site selecionado.
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.Windows.InternetInformationServices.10.0.WebSite.EnableFailedRequestTracing.Task" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.10.0.WebSite" Timeout="300" Remotable="false">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="Microsoft.Windows.InternetInformationServices.10.0.AppCmd.WriteAction">
<Operation>configure trace "$Target/Property[Type="System!System.Entity"]/DisplayName$" /enablesite</Operation>
<TimeoutSeconds>60</TimeoutSeconds>
</WriteAction>
</Task>