Gets or sets the name of the database to connect to. Issues a
 Copy imageCopy
USE
db_name statement when you start SqlCmd. This option sets the SqlCmd scripting variable SQLCMDDBNAME. This specifies the initial database. The default is your login's default-database property. If the database does not exist, an error message is generated and SqlCmd exits.

Namespace: MSBuild.ExtensionPack.SqlServer
Assembly: MSBuild.ExtensionPack (in MSBuild.ExtensionPack.dll) Version: 3.5.0.0

See Also