IncludeDependencies Property (SQL-DMO)

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]

Part Description
object Expression that evaluates to an object in the Applies To list
value True or False

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.

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetIncludeDependencies(LPBOOL pRetVal);

HRESULT SetIncludeDependencies(BOOL NewValue);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.