暫停區域
Microsoft.Windows.DNSServer.2016.Task.PauseZone (Task)
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.Windows.DNSServer.2016.Task.PauseZone" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.DNSServer.2016.Zone" Timeout="300" Remotable="true">
<Category>Custom</Category>
<WriteAction ID="WA" RunAs="Microsoft.Windows.DNSServer.2016.ActionAccount" TypeID="Microsoft.Windows.DNSServer.2016.ControlZone.WA">
<Server>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Server>
<Zone>$Target/Property[Type="Microsoft.Windows.DNSServer.2016.Zone"]/ZoneName$</Zone>
<Action>pause</Action>
</WriteAction>
</Task>