Partager via


TransferLoginsTask.CopySids Property

Gets or setsa Boolean indicating whether the security identifiers associated with the logins should be copied to the destination.

Espace de noms: Microsoft.SqlServer.Dts.Tasks.TransferLoginsTask
Assembly: Microsoft.SqlServer.TransferLoginsTask (in microsoft.sqlserver.transferloginstask.dll)

Syntaxe

'Déclaration
Public Property CopySids As Boolean
public bool CopySids { get; set; }
public:
virtual property bool CopySids {
    bool get () sealed;
    void set (bool value) sealed;
}
/** @property */
public final boolean get_CopySids ()

/** @property */
public final void set_CopySids (boolean value)
public final function get CopySids () : boolean

public final function set CopySids (value : boolean)

Valeur de propriété

true if the security identifiers associated with the logins are copied.

Notes

If this task is used in conjunction with attaching a database, this CopySids property must be true or the logins will not be recognized by the newly attached database.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

TransferLoginsTask Class
TransferLoginsTask Members
Microsoft.SqlServer.Dts.Tasks.TransferLoginsTask Namespace