Condividi tramite


Proprietà 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.

Spazio dei nomi  Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask
Assembly:  Microsoft.SqlServer.TransferSqlServerObjectsTask (in Microsoft.SqlServer.TransferSqlServerObjectsTask.dll)

Sintassi

'Dichiarazione
Public Property UsersList As StringCollection
    Get
    Set
'Utilizzo
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)

Valore proprietà

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

Implementa

ITransferSqlServerObjectsTask. . :: . .UsersList

Osservazioni

The default value is an empty string collection.