共用方式為


TransferSqlServerObjectsTask.CopyAllUsers Property

Definition

Caution

Use CopyDatabaseUsers instead.

Gets or sets a Boolean indicating whether all the SQL Server database users are copied from the source database to the target database, or only the specified users.

public:
 property bool CopyAllUsers { bool get(); void set(bool value); };
[System.Obsolete("Use CopyDatabaseUsers instead.")]
public bool CopyAllUsers { get; set; }
[<System.Obsolete("Use CopyDatabaseUsers instead.")>]
member this.CopyAllUsers : bool with get, set
Public Property CopyAllUsers As Boolean

Property Value

true indicates that all SQL Server database users are copied from the source database to the target database.

Implements

Attributes

Remarks

The default value is false. When false, only the users listed in the UsersList property are transferred.

Applies to