Partager via


IncludeUsers Property

Cette fonctionnalité sera supprimée dans une prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement et prévoyez de modifier les applications qui utilisent actuellement cette fonctionnalité.

The IncludeUsers property controls handling of Microsoft SQL Server database user records in a transfer operation.

Syntaxe

object
.IncludeUsers [=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 GetIncludeUsers(LPBOOL pRetVal);
HRESULT SetIncludeUsers(BOOL NewValue);

Notes

If TRUE, all users in the source database are created in the target database as part of the transfer operation.

If FALSE, no users are created in the target database.

Applies To: