Share via


TransferSqlServerObjectsTask.SchemasList Property

Gets or sets a StringCollection containing the list of schemas to transfer from the source database to the destination database when CopyAllSchemas is false.

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

Syntax

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

value = instance.SchemasList

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

Property Value

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

Implements

ITransferSqlServerObjectsTask.SchemasList

Remarks

The default value is an empty string collection.