IncludeDependencies Property

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

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.

Syntax

object.IncludeDependencies [=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 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.

Applies To: