SqlCmd.InputFiles Property

MSBuild Extension Pack

SqlCmdInputFiles Property MSBuild Extension Pack Help 4.0.12.0

Gets or sets the path to a file that contains a batch of SQL statements. Multiple files may be specified that will be read and processed in order. Do not use any spaces between the file names. SqlCmd will first check to see whether all files exist. If one or more files do not exist, SqlCmd will exit. The InputFiles and CommandLineQuery options are mutually exclusive.

Please note that if you provide a large number of files, you may exceed the maximum length of a command line (http://support.microsoft.com/kb/830473). It's recommended you make use of smaller batches if you encounter this issue.

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

Reference