Share 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 
    Get 
    Set
'Usage
Dim instance As TransferDatabaseTask 
Dim value As String 

value = instance.SourceConnection

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

Property Value

Type: System.String
A String that contains the connection string of the SMO connection manager.

Implements

ITransferDatabaseTask.SourceConnection

See Also

Reference

TransferDatabaseTask Class

Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask Namespace