Share via


TransferBase.Database Property

Gets or sets the database from which schema or data is to be transferred to the target location.

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

Syntax

'Declaration
Public Property Database As Database 
    Get 
    Set
'Usage
Dim instance As TransferBase 
Dim value As Database 

value = instance.Database

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.Database
The database from which schema or data is to be transferred to the target location.

See Also

Reference

TransferBase Class

Microsoft.SqlServer.Management.Smo Namespace