다음을 통해 공유


CopySchema 속성

Gets or sets a Boolean that specifies whether the schema is copied in the transfer operation. This property is only available for SQL Server 2005 or later versions.

네임스페이스:  Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask
어셈블리:  Microsoft.SqlServer.TransferSqlServerObjectsTask(Microsoft.SqlServer.TransferSqlServerObjectsTask.dll)

구문

‘선언
Public Property CopySchema As Boolean
    Get
    Set
‘사용 방법
Dim instance As TransferSqlServerObjectsTask
Dim value As Boolean

value = instance.CopySchema

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

속성 값

유형: System. . :: . .Boolean
true indicates that the schema is copied from the source database to the target database.

구현

ITransferSqlServerObjectsTask. . :: . .CopySchema

주의

The default value is true.