Dela via


Transfer.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 Transfer
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
A Database object value that specifies the database from which schema or data is to be transferred to the target location.