Condividi tramite


IncludeUsers Property

Questa caratteristica verrà rimossa a partire da una delle prossime versioni di Microsoft SQL Server. Evitare di utilizzare questa funzionalità in un nuovo progetto di sviluppo e prevedere interventi di modifica nelle applicazioni in cui è attualmente implementata.

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

Sintassi

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);

Osservazioni

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: