共用方式為


DatabasesList 屬性

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

命名空間:  Microsoft.SqlServer.Dts.Tasks.TransferLoginsTask
組件:  Microsoft.SqlServer.TransferLoginsTask (在 Microsoft.SqlServer.TransferLoginsTask.dll 中)

語法

'宣告
Public Property DatabasesList As StringCollection
    Get
    Set
'用途
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)

屬性值

型別: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.

實作

ITransferLoginsTask. . :: . .DatabasesList

備註

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