TeamFoundationVersionControlService.CheckInShelveset Method

Submit an existing shelveset for checkin. Work items associated with the changeset will be either associated or resolved as soon as the checkin is completed.

Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)

Syntax

'Declaration
Public Function CheckInShelveset ( _
    requestContext As TeamFoundationRequestContext, _
    shelvesetName As String, _
    ownerName As String, _
    changesetOwner As String, _
    checkinNotificationInfo As CheckinNotificationInfo, _
    checkinOptions As Integer _
) As TeamFoundationDataReader
public TeamFoundationDataReader CheckInShelveset(
    TeamFoundationRequestContext requestContext,
    string shelvesetName,
    string ownerName,
    string changesetOwner,
    CheckinNotificationInfo checkinNotificationInfo,
    int checkinOptions
)
public:
TeamFoundationDataReader^ CheckInShelveset(
    TeamFoundationRequestContext^ requestContext, 
    String^ shelvesetName, 
    String^ ownerName, 
    String^ changesetOwner, 
    CheckinNotificationInfo^ checkinNotificationInfo, 
    int checkinOptions
)
member CheckInShelveset : 
        requestContext:TeamFoundationRequestContext * 
        shelvesetName:string * 
        ownerName:string * 
        changesetOwner:string * 
        checkinNotificationInfo:CheckinNotificationInfo * 
        checkinOptions:int -> TeamFoundationDataReader
public function CheckInShelveset(
    requestContext : TeamFoundationRequestContext, 
    shelvesetName : String, 
    ownerName : String, 
    changesetOwner : String, 
    checkinNotificationInfo : CheckinNotificationInfo, 
    checkinOptions : int
) : TeamFoundationDataReader

Parameters

  • shelvesetName
    Type: System.String

    The name of the shelveset to submit.

  • changesetOwner
    Type: System.String

    The author for the changeset.

  • checkinOptions
    Type: System.Int32

    Options to control validation.

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
TeamFoundationDataReader with results in the following order: CheckInResult - The checkin result with the changeset created and the undone changes. Failure[] - The list of conflicts which occurred when trying to checkin. Failure[] - The list of errors and warnings which occurred when trying to checkin.

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

Microsoft.TeamFoundation.VersionControl.Server Namespace