Share via


RepositoryProperties Class

Describes the global properties of this repository.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.VersionControl.Client.RepositoryProperties

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public NotInheritable Class RepositoryProperties
public sealed class RepositoryProperties
public ref class RepositoryProperties sealed
[<Sealed>]
type RepositoryProperties =  class end
public final class RepositoryProperties

The RepositoryProperties type exposes the following members.

Properties

  Name Description
Public property DownloadKey Gets the download key for this repository.
Public property Id Gets the unique identifier for this repository.
Public property LatestChangesetId Gets the ID of the most recently committed changeset.
Public property Name Gets the name describing this repository.
Public property SupportedFeatures Gets the features supported by the server.Can be evaluated by doing a bitwise or against the SupportedFeatures enum.
Public property Version Gets the version of the mid/data tier system. For the system to start and run correctly both the mid and data tiers must have the same version information.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodStatic member FromXml Loads the repository information using the provided XML reader.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns this repository information as a string. (Overrides Object.ToString().)
Public method ToXml(XmlWriter, String) Creates an XML representation of this repository information and saves it to the provided XML writer.
Public methodStatic member ToXml(XmlWriter, String, RepositoryProperties) Creates an XML representation of this repository information and saves it to the provided XML writer.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.VersionControl.Client Namespace