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

執行來源合併至目標。

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

語法

'宣告
Public Function Merge ( _
    source As ItemSpec, _
    targetPath As String, _
    versionFrom As VersionSpec, _
    versionTo As VersionSpec, _
    lockLevel As LockLevel, _
    mergeOptions As MergeOptionsEx, _
    itemAttributeFilters As String(), _
    itemPropertyFilters As String() _
) As GetStatus
public GetStatus Merge(
    ItemSpec source,
    string targetPath,
    VersionSpec versionFrom,
    VersionSpec versionTo,
    LockLevel lockLevel,
    MergeOptionsEx mergeOptions,
    string[] itemAttributeFilters,
    string[] itemPropertyFilters
)

參數

  • targetPath
    類型:System.String
    合併的目標 (本機或伺服器路徑。--必須對應)
  • itemAttributeFilters
    類型:array<System.String[]
    屬性清單篩選隨附的 get 作業

傳回值

類型:Microsoft.TeamFoundation.VersionControl.Client.GetStatus
狀態資訊。

.NET Framework 安全性

請參閱

參考

Workspace 類別

Merge 多載

Microsoft.TeamFoundation.VersionControl.Client 命名空間