IncludeDependencies Property

SQL-DMO

SQL-DMO

IncludeDependencies Property

The IncludeDependencies property controls the addition of dependent database objects to a user-defined list of Microsoft® SQL Server™ database objects in a transfer operation.

Applies To
Transfer Object
Syntax

object.IncludeDependencies [= value]

Parts

object

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 GetIncludeDependencies(LPBOOL pRetVal);

HRESULT SetIncludeDependencies(BOOL NewValue);

Remarks

If TRUE, the transfer automatically copies the SQL Server database objects on which user-selected database objects depend.

If FALSE, only the user-selected objects are copied.