Partilhar via


TransferDatabaseTask.SourceConnection Property

Gets or sets a String containing the name of the SMO connection manager for the source database.

Namespace: Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask
Assembly: Microsoft.SqlServer.TransferDatabasesTask (in microsoft.sqlserver.transferdatabasestask.dll)

Syntax

'Declaration
Public Property SourceConnection As String
public string SourceConnection { get; set; }
public:
virtual property String^ SourceConnection {
    String^ get () sealed;
    void set (String^ value) sealed;
}
/** @property */
public final String get_SourceConnection ()

/** @property */
public final void set_SourceConnection (String value)
public final function get SourceConnection () : String

public final function set SourceConnection (value : String)

Property Value

A String that contains the connection string of the SMO connection manager.

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

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