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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context with which the request should be issued.
request
Type: Microsoft.TeamFoundation.Git.Server.TfsGitRefUpdateRequestThe ref update request to perform.
- commitIdsInRef
Type: System.Collections.Generic.IEnumerable<array<Byte[]>
- pushTime
Type: System.DateTime%
Return Value
Type: Microsoft.TeamFoundation.Git.Server.TfsGitRefUpdateResult
A TfsGitRefUpdateResult object describing the result of the operation.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.