Stop Dfs Namespace Service

Microsoft.Windows.FileServer.DFSN.2008.StopServiceAgentTask (Task)

Stops the DFS Namespace service by running the Net Stop DFS command.

Element properties:

TargetMicrosoft.Windows.FileServer.DFSN.2008.RoleService
AccessibilityPublic
CategoryOperations
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
PA ProbeAction System.CommandExecuterProbe Default

Source Code:

<Task ID="Microsoft.Windows.FileServer.DFSN.2008.StopServiceAgentTask" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.FileServer.DFSN.2008.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>