Delen via


VersionControlServer.CheckInShelveset Method (String, String)

Submit an existing Shelveset for check in to the repository.

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

Syntax

'Declaration
Public Function CheckInShelveset ( _
    shelvesetName As String, _
    ownerName As String _
) As Integer
public int CheckInShelveset(
    string shelvesetName,
    string ownerName
)
public:
int CheckInShelveset(
    String^ shelvesetName, 
    String^ ownerName
)
member CheckInShelveset : 
        shelvesetName:string * 
        ownerName:string -> int
public function CheckInShelveset(
    shelvesetName : String, 
    ownerName : String
) : int

Parameters

  • shelvesetName
    Type: System.String

    The name of the shelveset to submit.

Return Value

Type: System.Int32
The changeset ID created if successful.

Remarks

Work items associated with the changeset will be either associated or resolved once the check in completes.

.NET Framework Security

See Also

Reference

VersionControlServer Class

CheckInShelveset Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace