Partager via


Propriété DatabasesList

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

Espace de noms :  Microsoft.SqlServer.Dts.Tasks.TransferLoginsTask
Assembly :  Microsoft.SqlServer.TransferLoginsTask (en Microsoft.SqlServer.TransferLoginsTask.dll)

Syntaxe

'Déclaration
Public Property DatabasesList As StringCollection
    Get
    Set
'Utilisation
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)

Valeur de propriété

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.

Implémente

ITransferLoginsTask. . :: . .DatabasesList

Notes

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