共用方式為


TeamFoundationVersionControlService.Merge 方法 (TeamFoundationRequestContext, String, String, ItemSpec, ItemSpec, VersionSpec, VersionSpec, LockLevel, MergeOptionsEx, array<String[])

傳回暫止的合併自動剖析和衝突的 GetOperations 清單並不會自動解析的。

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

語法

'宣告
Public Function Merge ( _
    requestContext As TeamFoundationRequestContext, _
    workspaceName As String, _
    workspaceOwner As String, _
    source As ItemSpec, _
    target As ItemSpec, _
    from As VersionSpec, _
    to As VersionSpec, _
    lockLevel As LockLevel, _
    mergeOptions As MergeOptionsEx, _
    itemAttributeFilters As String() _
) As TeamFoundationDataReader
public TeamFoundationDataReader Merge(
    TeamFoundationRequestContext requestContext,
    string workspaceName,
    string workspaceOwner,
    ItemSpec source,
    ItemSpec target,
    VersionSpec from,
    VersionSpec to,
    LockLevel lockLevel,
    MergeOptionsEx mergeOptions,
    string[] itemAttributeFilters
)

參數

  • itemAttributeFilters
    類型:array<System.String[]
    傳回的屬性清單中的每個取得作業。

傳回值

類型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
含有結果的 TeamFoundationDataReader 在下列順序:GetOperation [-更新的用戶端 GetOperations 清單。失敗 [-沒有合併項目的清單。衝突 [-無法解析的暫止合併的清單。

.NET Framework 安全性

請參閱

參考

TeamFoundationVersionControlService 類別

Merge 多載

Microsoft.TeamFoundation.VersionControl.Server 命名空間