Partager via


TransferSqlServerObjectsTask.UsersList Property

Gets or sets a StringCollection containing the SQL Server database users to transfer from the source database to the destination database when CopyAllUsers is false.

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

Syntaxe

'Déclaration
Public Property UsersList As StringCollection
public StringCollection UsersList { get; set; }
public:
virtual property StringCollection^ UsersList {
    StringCollection^ get () sealed;
    void set (StringCollection^ value) sealed;
}
/** @property */
public final StringCollection get_UsersList ()

/** @property */
public final void set_UsersList (StringCollection value)
public final function get UsersList () : StringCollection

public final function set UsersList (value : StringCollection)

Valeur de propriété

A StringCollection that lists the users to transfer.

Notes

The default value is an empty string collection.

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

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