共用方式為


TransferBase.Database 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)

語法

'宣告
Public Property Database As Database 
    Get 
    Set
'用途
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)

屬性值

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

請參閱

參考

TransferBase 類別

Microsoft.SqlServer.Management.Smo 命名空間