Edit

GitTargetVersionDescriptor Class

Definition

[System.Runtime.Serialization.DataContract]
public class GitTargetVersionDescriptor : Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor
type GitTargetVersionDescriptor = class
    inherit GitVersionDescriptor
Public Class GitTargetVersionDescriptor
Inherits GitVersionDescriptor
Inheritance
Attributes

Constructors

GitTargetVersionDescriptor()

Properties

Version

Version string identifier (name of tag/branch, SHA1 of commit)

VersionOptions

Version options - Specify additional modifiers to version (e.g Previous)

VersionType

Version type (branch, tag, or commit). Determines how Id is interpreted

Methods

SetSecuredObject(ISecuredObject) (Inherited from VersionControlSecuredObject)
ToString() (Inherited from GitVersionDescriptor)

Explicit Interface Implementations

ISecuredObject.GetToken() (Inherited from VersionControlSecuredObject)
ISecuredObject.NamespaceId (Inherited from VersionControlSecuredObject)
ISecuredObject.RequiredPermissions (Inherited from VersionControlSecuredObject)

Applies to