停止 SQL Integration Services 服務
Microsoft.SQLServer.2012.IntegrationServices.StopService (Task)
停止 SQL Integration Services 服務。
請注意,所有版本的 SQL Server Express 都只支援 [SQL Server 匯入及匯出精靈] 以及內建的資料來源連接器。
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.SQLServer.2012.IntegrationServices.StopService" Target="SQL2012Core!Microsoft.SQLServer.2012.IntegrationServices" Accessibility="Internal" Enabled="true" Remotable="false">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="System!System.CommandExecuter" RunAs="SQL!Microsoft.SQLServer.SQLDefaultAccount">
<ApplicationName/>
<WorkingDirectory/>
<CommandLine>net stop $Target/Property[Type="SQL!Microsoft.SQLServer.IntegrationServices"]/ServiceName$ /y</CommandLine>
<TimeoutSeconds>300</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</WriteAction>
</Task>