共用方式為


TransferSqlServerObjectsTask.CopyAllSchemas 屬性

Gets or sets a Boolean indicating whether all SQL Server schemas are transferred from the source to the target database, or only the specified schemas.

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

語法

'宣告
Public Property CopyAllSchemas As Boolean 
    Get 
    Set
'用途
Dim instance As TransferSqlServerObjectsTask 
Dim value As Boolean 

value = instance.CopyAllSchemas

instance.CopyAllSchemas = value
public bool CopyAllSchemas { get; set; }
public:
virtual property bool CopyAllSchemas {
    bool get () sealed;
    void set (bool value) sealed;
}
abstract CopyAllSchemas : bool with get, set 
override CopyAllSchemas : bool with get, set
final function get CopyAllSchemas () : boolean 
final function set CopyAllSchemas (value : boolean)

屬性值

型別:System.Boolean
true indicates that all SQL Server schemas are transferred from the source to the target database. false indicates that only the objects found in the SchemasList are transferred.

實作

ITransferSqlServerObjectsTask.CopyAllSchemas

請參閱

參考

TransferSqlServerObjectsTask 類別

Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask 命名空間