Delen via


TfsGitRepositoryRefsCollection.Write Method (TeamFoundationRequestContext, TfsGitRefUpdateRequest, IEnumerable<array<Byte >, DateTime%)

Writes the provided ref to the repository.

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

Syntax

'Declaration
Public Function Write ( _
    requestContext As TeamFoundationRequestContext, _
    request As TfsGitRefUpdateRequest, _
    commitIdsInRef As IEnumerable(Of Byte()), _
    <OutAttribute> ByRef pushTime As DateTime _
) As TfsGitRefUpdateResult
public TfsGitRefUpdateResult Write(
    TeamFoundationRequestContext requestContext,
    TfsGitRefUpdateRequest request,
    IEnumerable<byte[]> commitIdsInRef,
    out DateTime pushTime
)
public:
TfsGitRefUpdateResult^ Write(
    TeamFoundationRequestContext^ requestContext, 
    TfsGitRefUpdateRequest^ request, 
    IEnumerable<array<unsigned char>^>^ commitIdsInRef, 
    [OutAttribute] DateTime% pushTime
)
member Write : 
        requestContext:TeamFoundationRequestContext * 
        request:TfsGitRefUpdateRequest * 
        commitIdsInRef:IEnumerable<byte[]> * 
        pushTime:DateTime byref -> TfsGitRefUpdateResult
public function Write(
    requestContext : TeamFoundationRequestContext, 
    request : TfsGitRefUpdateRequest, 
    commitIdsInRef : IEnumerable<byte[]>, 
    pushTime : DateTime
) : TfsGitRefUpdateResult

Parameters

Return Value

Type: Microsoft.TeamFoundation.Git.Server.TfsGitRefUpdateResult
A TfsGitRefUpdateResult object describing the result of the operation.

.NET Framework Security

See Also

Reference

TfsGitRepositoryRefsCollection Class

Write Overload

Microsoft.TeamFoundation.Git.Server Namespace