DFS Namespace サービスの停止
Microsoft.Windows.FileServer.DFSN.6.3.StopServiceAgentTask (Task)
Net Stop DFS コマンドを実行して、DFS Namespace サービスを停止します。
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.Windows.FileServer.DFSN.6.3.StopServiceAgentTask" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.FileServer.DFSN.6.3.RoleService" Timeout="300" Remotable="true">
<Category>Operations</Category>
<ProbeAction ID="PA" TypeID="System!System.CommandExecuterProbe">
<ApplicationName>%SystemRoot%\System32\net.exe</ApplicationName>
<WorkingDirectory>%SYSTEMROOT%\temp</WorkingDirectory>
<CommandLine>stop dfs</CommandLine>
<TimeoutSeconds>300</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
</ProbeAction>
</Task>