Repository4.PendChanges 方法

调用以执行添加,签出、 分支、 重命名、 删除等。

提交更改可能包含通配符字符和递归标志。 通配符的递归方式将被扩展,更改列表已成功挂起将返回。

命名空间:  Microsoft.TeamFoundation.VersionControl.Server
程序集:  Microsoft.TeamFoundation.VersionControl.Server(在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)

语法

声明
<WebMethodAttribute> _
Public Function PendChanges ( _
    workspaceName As String, _
    ownerName As String, _
    changes As ChangeRequest(), _
    pendChangesOptions As Integer, _
    supportedFeatures As Integer, _
    itemPropertyFilters As String(), _
    itemAttributeFilters As String(), _
    <OutAttribute> ByRef failures As List(Of Failure), _
    <OutAttribute> ByRef changePendedFlags As Integer _
) As StreamingCollection(Of GetOperation)
[WebMethodAttribute]
public StreamingCollection<GetOperation> PendChanges(
    string workspaceName,
    string ownerName,
    ChangeRequest[] changes,
    int pendChangesOptions,
    int supportedFeatures,
    string[] itemPropertyFilters,
    string[] itemAttributeFilters,
    out List<Failure> failures,
    out int changePendedFlags
)

参数

  • workspaceName
    类型:System.String
    要针对的挂起更改工作区的名称。
  • ownerName
    类型:System.String
    要暂挂的工作区的所有者更改针对 (包括域)。
  • pendChangesOptions
    类型:System.Int32
    选项集的 PendChanges (PendChangeOptions 枚举的整数表示形式)。GetLatestOnCheckout: 为挂起编辑,第一次同步到最新的客户端通过返回指示客户端的 GetOps 项目的版本应该执行下载。
  • supportedFeatures
    类型:System.Int32
    客户端上,其中包含 SupportedFeatures 枚举的组合的值 int 所支持的功能。
  • itemAttributeFilters
    类型:array<System.String[]
    要返回的属性列表获取操作。

返回值

类型:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<GetOperation>
描述成功所做的更改的 GetOperation 对象的数组。

.NET Framework 安全性

请参见

参考

Repository4 类

Microsoft.TeamFoundation.VersionControl.Server 命名空间