Partager via


Propriété UsersList

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 (en Microsoft.SqlServer.TransferSqlServerObjectsTask.dll)

Syntaxe

'Déclaration
Public Property UsersList As StringCollection
    Get
    Set
'Utilisation
Dim instance As TransferSqlServerObjectsTask
Dim value As StringCollection

value = instance.UsersList

instance.UsersList = value
public StringCollection UsersList { get; set; }
public:
virtual property StringCollection^ UsersList {
    StringCollection^ get () sealed;
    void set (StringCollection^ value) sealed;
}
abstract UsersList : StringCollection with get, set
override UsersList : StringCollection with get, set
final function get UsersList () : StringCollection
final function set UsersList (value : StringCollection)

Valeur de propriété

Type : System.Collections.Specialized. . :: . .StringCollection
A StringCollection that lists the users to transfer.

Implémente

ITransferSqlServerObjectsTask. . :: . .UsersList

Notes

The default value is an empty string collection.