Dela via


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)

Syntax

'Declaration
Public Property DestinationServer As String
    Get
    Set
'Usage
Dim instance As Transfer
Dim value As String

value = instance.DestinationServer

instance.DestinationServer = value
public string DestinationServer { get; set; }
public:
property String^ DestinationServer {
    String^ get ();
    void set (String^ value);
}
member DestinationServer : string with get, set
function get DestinationServer () : String
function set DestinationServer (value : String)

Property Value

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