Freigeben über


UsersList-Eigenschaft

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.

Namespace:  Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask
Assembly:  Microsoft.SqlServer.TransferSqlServerObjectsTask (in Microsoft.SqlServer.TransferSqlServerObjectsTask.dll)

Syntax

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

Eigenschaftenwert

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

Implementiert

ITransferSqlServerObjectsTask. . :: . .UsersList

Hinweise

The default value is an empty string collection.