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
)

参数

返回值

类型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader

.NET Framework 安全性

请参见

参考

TeamFoundationVersionControlService 类

Rollback 重载

Microsoft.TeamFoundation.VersionControl.Server 命名空间