Language

RepositoryResource Class

Definition

Provides a data contract for a repository resource referenced by a pipeline.

[System.Runtime.Serialization.DataContract]
public sealed class RepositoryResource : Microsoft.TeamFoundation.DistributedTask.Pipelines.Resource
type RepositoryResource = class
    inherit Resource
Public NotInheritable Class RepositoryResource
Inherits Resource
Inheritance
RepositoryResource
Attributes

Constructors

Name Description
RepositoryResource()

Initializes a new RepositoryReference instance with default values.

Properties

Name Description
Alias

Gets or sets the name of the resource.

(Inherited from Resource)
Endpoint

Gets or sets an optional endpoint used for connecting to the resource.

(Inherited from Resource)
Id

Gets or sets a unique identifier for this repository.

Properties

Gets the extended properties set on the resource.

(Inherited from Resource)
Type

Gets or sets the type of repository.

Url

Gets or sets the url of the repository.

Version

Gets or sets the version of the repository.

Methods

Name Description
Clone()

Creates a clone of the current repository instance.

Applies to