TransferSqlServerObjectsTask.CopyAllDefaults Property

Gets or sets a Boolean indicating that the transfer includes the SQL Server defaults.

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

Syntax

'Declaration
Public Property CopyAllDefaults As Boolean
public bool CopyAllDefaults { get; set; }
public:
virtual property bool CopyAllDefaults {
    bool get () sealed;
    void set (bool value) sealed;
}
/** @property */
public final boolean get_CopyAllDefaults ()

/** @property */
public final void set_CopyAllDefaults (boolean value)
public final function get CopyAllDefaults () : boolean

public final function set CopyAllDefaults (value : boolean)

Property Value

true indicates that SQL Server defaults are transferred from the source to the target database. false indicates that only objects found in the DefaultsList are transferred.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

TransferSqlServerObjectsTask Class
TransferSqlServerObjectsTask Members
Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask Namespace