Share via


TransferSqlServerObjectsTask.LoginsList Property

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

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

Syntax

'Declaration
Public Property LoginsList As StringCollection 
    Get 
    Set
'Usage
Dim instance As TransferSqlServerObjectsTask 
Dim value As StringCollection 

value = instance.LoginsList

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

Property Value

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

Implements

ITransferSqlServerObjectsTask.LoginsList

Remarks

The default value is an empty string collection.

See Also

Reference

TransferSqlServerObjectsTask Class

Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask Namespace