Workspace.Merge 方法 (String, String, VersionSpec, VersionSpec, LockLevel, RecursionType, MergeOptions)

合併來源到目標。

命名空間:  Microsoft.TeamFoundation.VersionControl.Client
組件:  Microsoft.TeamFoundation.VersionControl.Client (在 Microsoft.TeamFoundation.VersionControl.Client.dll 中)

語法

'宣告
Public Function Merge ( _
    sourcePath As String, _
    targetPath As String, _
    versionFrom As VersionSpec, _
    versionTo As VersionSpec, _
    lockLevel As LockLevel, _
    recursion As RecursionType, _
    mergeOptions As MergeOptions _
) As GetStatus
public GetStatus Merge(
    string sourcePath,
    string targetPath,
    VersionSpec versionFrom,
    VersionSpec versionTo,
    LockLevel lockLevel,
    RecursionType recursion,
    MergeOptions mergeOptions
)

參數

傳回值

類型:Microsoft.TeamFoundation.VersionControl.Client.GetStatus
GetStatus 物件指示多少作業,衝突,錯誤,依此類推,發生取得處理作業。

備註

必須將合併的目標路徑。

.NET Framework 安全性

請參閱

參考

Workspace 類別

Merge 多載

Microsoft.TeamFoundation.VersionControl.Client 命名空間