Freigeben über


Repository5.CheckInShelveset-Methode

Senden Sie ein vorhandenes Shelveset für Eincheckvorgänge. Die Arbeitsaufgaben, die dem Changeset zugeordnet sind, werden entweder zugeordnet oder aufgelöst, sobald das Einchecken.

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Function CheckInShelveset ( _
    shelvesetName As String, _
    ownerName As String, _
    changesetOwner As String, _
    checkinNotificationInfo As CheckinNotificationInfo, _
    checkinOptions As Integer, _
    maxClientPathLength As Integer, _
    <OutAttribute> ByRef conflicts As StreamingCollection(Of Failure), _
    <OutAttribute> ByRef failures As StreamingCollection(Of Failure) _
) As CheckinResult
[WebMethodAttribute]
public CheckinResult CheckInShelveset(
    string shelvesetName,
    string ownerName,
    string changesetOwner,
    CheckinNotificationInfo checkinNotificationInfo,
    int checkinOptions,
    int maxClientPathLength,
    out StreamingCollection<Failure> conflicts,
    out StreamingCollection<Failure> failures
)

Parameter

  • shelvesetName
    Typ: System.String
    Der Name des Shelvesets gesendet.
  • changesetOwner
    Typ: System.String
    Der Autor für das Changeset.
  • checkinOptions
    Typ: System.Int32
    Optionen, die Validierung zu steuern.
  • maxClientPathLength
    Typ: System.Int32
    Die maximale Server-Pfadlänge des Clients unterstützt hat.

Rückgabewert

Typ: Microsoft.TeamFoundation.VersionControl.Server.CheckinResult
Das Eincheckergebnis mit dem Changeset erstellt und dem undone-Zustand Änderungen.

.NET Framework-Sicherheit

Siehe auch

Referenz

Repository5 Klasse

Microsoft.TeamFoundation.VersionControl.Server-Namespace