停止資料存取服務
Microsoft.SystemCenter.ServiceManager.StopSdkService (Task)
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.SystemCenter.ServiceManager.StopSdkService" Accessibility="Public" Enabled="true" Target="SM!Microsoft.SystemCenter.ServiceManager.ManagementServer" Timeout="300" Remotable="true">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="System!System.CommandExecuter">
<ApplicationName> %Windir%\System32\net.exe</ApplicationName>
<WorkingDirectory/>
<CommandLine>stop OMSDK</CommandLine>
<TimeoutSeconds>300</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
</WriteAction>
</Task>