Bagikan melalui


TransferLoginsTask.DatabasesList Property

Gets or sets a StringCollection containing the databases on the source server that contain logins to be copied to the destination server.

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

Syntax

'Declaration
Public Property DatabasesList As StringCollection
    Get
    Set
'Usage
Dim instance As TransferLoginsTask
Dim value As StringCollection

value = instance.DatabasesList

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

Property Value

Type: System.Collections.Specialized.StringCollection
A StringCollection that lists the databases on the source server that contains the logins to be copied to the destination server.

Implements

ITransferLoginsTask.DatabasesList

Remarks

This list is used when the LoginsToTransfer property is set to AllLoginsFromSelectedDatabases.