共用方式為


TransferBase.TargetDatabaseFilePath 屬性

Gets or sets the path to where the database files will be copied.

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

語法

'宣告
Public Property TargetDatabaseFilePath As String 
    Get 
    Set
'用途
Dim instance As TransferBase 
Dim value As String 

value = instance.TargetDatabaseFilePath

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

屬性值

型別:System.String
The path to where the database files will be copied.

請參閱

參考

TransferBase 類別

Microsoft.SqlServer.Management.Smo 命名空間