We recommend using Visual Studio 2017

Transfer.DestinationServer Property

Gets or sets the instance of SQL Server that owns the database that is the destination of the transfer operation.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

public string DestinationServer { get; set; }

Property Value

Type: System.String
A String value that specifies the destination instance of SQL Server.

Community Additions