Share via


IncludeDB Property

Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.

The IncludeDB property specifies whether to create a database on the destination server during a data transfer operation.

구문

object
.IncludeDB [= value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • value
    TRUE or FALSE

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetIncludeDB( LPBOOL pRetVal);
HRESULT SetIncludeDB(BOOL NewValue);

주의

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.

[!참고] IncludeDB can be used with Microsoft SQL Server 2005, SQL Server 2000, and SQL Server version 7.0.

Applies To:

Transfer2 Object