Condividi tramite


TransferDatabaseTask.SourceConnection Property

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

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

Sintassi

'Dichiarazione
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)

Valore proprietà

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

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