TeamFoundationVersionControlService.UndoPendingChanges 方法 (TeamFoundationRequestContext, String, String, array<ItemSpec[], array<String[], array<String[], Boolean, PathLength)
命名空间: Microsoft.TeamFoundation.VersionControl.Server
程序集: Microsoft.TeamFoundation.VersionControl.Server(在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)
语法
声明
Public Function UndoPendingChanges ( _
requestContext As TeamFoundationRequestContext, _
workspaceName As String, _
ownerName As String, _
items As ItemSpec(), _
itemPropertyFilters As String(), _
itemAttributeFilters As String(), _
localWorkspaceBehavior As Boolean, _
maxClientPathLength As PathLength _
) As TeamFoundationDataReader
public TeamFoundationDataReader UndoPendingChanges(
TeamFoundationRequestContext requestContext,
string workspaceName,
string ownerName,
ItemSpec[] items,
string[] itemPropertyFilters,
string[] itemAttributeFilters,
bool localWorkspaceBehavior,
PathLength maxClientPathLength
)
参数
- requestContext
类型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- workspaceName
类型:System.String
- ownerName
类型:System.String
- items
类型:array<Microsoft.TeamFoundation.VersionControl.Server.ItemSpec[]
- itemPropertyFilters
类型:array<System.String[]
- itemAttributeFilters
类型:array<System.String[]
- localWorkspaceBehavior
类型:System.Boolean
- maxClientPathLength
类型:Microsoft.TeamFoundation.VersionControl.Common.PathLength
返回值
类型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。