SqlCmd.OutputFile Property

MSBuild Extension Pack

SqlCmdOutputFile Property MSBuild Extension Pack Help 4.0.12.0

Gets or sets the file that receives output from SqlCmd.

If the UnicodeOutput option is specified, the output file is stored in Unicode format. If the file name is not valid, an error message is generated, and SqlCmd exits. SqlCmd does not support concurrent writing of multiple SqlCmd processes to the same file. The file output will be corrupted or incorrect. This file will be created if it does not exist. A file of the same name from a prior SqlCmd session will be overwritten. The file specified here is not the stdout file. If a stdout file is specified this file will not be used.

Namespace: MSBuild.ExtensionPack.SqlServer
Assembly: MSBuild.ExtensionPack (in MSBuild.ExtensionPack.dll) Version: 4.0.0.0
See Also

Reference