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