다음을 통해 공유


TfsGitRefUpdateStatus Enumeration

Represents the possible outcomes from a request to update a ref in a repository.

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

Syntax

'Declaration
Public Enumeration TfsGitRefUpdateStatus
public enum TfsGitRefUpdateStatus
public enum class TfsGitRefUpdateStatus
type TfsGitRefUpdateStatus
public enum TfsGitRefUpdateStatus

Members

Member name Description
ForcePushRequired Indicates that the ref update request could not be completed because part of the graph would be disconnected by this change, and the caller does not have ForcePush permission on the repository.

InvalidRefName Indicates that the ref update request could not be completed because the ref name presented in the request was not valid.

ManageNotePermissionRequired The ref update request could not be completed because the user lacks note creation permissions required to write this note

StaleOldObjectId Indicates that the ref update request could not be completed because the old object ID presented in the request was not the object ID of the ref when the database attempted the update. The most likely scenario is that the caller lost a race to update the ref.

Succeeded Indicates that the ref update request was completed successfully.

Unprocessed The request was not processed

UnresolvableToCommit The ref update request could not be completed because the new object ID for the ref could not be resolved to a commit object (potentially through any number of tags)

WritePermissionRequired The ref update request could not be completed because the user lacks write permissions required to write this ref

See Also

Reference

Microsoft.TeamFoundation.Git.Server Namespace