IncludeDB Property
Esse recurso será removido em uma versão futura do Microsoft SQL Server. Evite usar esse recurso em desenvolvimentos novos e planeje modificar os aplicativos que atualmente o utilizam.
The IncludeDB property specifies whether to create a database on the destination server during a data transfer operation.
Sintaxe
object
.IncludeDB [= value]
Parts
object
An expression that evaluates to an object in the Applies To listvalue
TRUE or FALSE
Data Type
Boolean
Modifiable
Read/write
Prototype (C/C++)
HRESULT GetIncludeDB( LPBOOL pRetVal);
HRESULT SetIncludeDB(BOOL NewValue);
Comentários
With the IncludeDB property set to TRUE, a database does not need to exist at a destination server before database objects can be copied during a transfer operation. The IncludeDB property generates a destination database creation statement at the beginning of script execution during a transfer operation.
The default is FALSE.