SqlCmd.LogOn Property

MSBuild Extension Pack

SqlCmdLogOn Property MSBuild Extension Pack Help 4.0.12.0

Gets or sets the user login id. If neither the LogOn or Password option is specified, SqlCmd tries to connect by using Microsoft Windows Authentication mode. Authentication is based on the Windows account of the user who is running SqlCmd.

Note: The OSQLUSER environment variable is available for backwards compatibility. The SQLCMDUSER environment variable takes precedence over the OSQLUSER environment variable. This means that SqlCmd and osql can be used next to each other without interference.

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

Reference