Share via


TransferSqlServerObjectsTask.SourceConnection Property

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

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

Syntax

'Declaration
Public Property SourceConnection As String
    Get
    Set
'Usage
Dim instance As TransferSqlServerObjectsTask
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

ITransferSqlServerObjectsTask.SourceConnection