Freigeben über


IncludeUsers Property

Dieses Feature wird in einer zukünftigen Version von Microsoft SQL Server entfernt. Verwenden Sie dieses Feature beim Entwickeln neuer Anwendungen nicht, und planen Sie das Ändern von Anwendungen, in denen es zurzeit verwendet wird.

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

Syntax

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

Hinweise

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:

Transfer Object