Click to Rate and Give Feedback

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Reference for Team Foundation Server SDK
VersionControlServer Class

The VersionControlServer object represents the database.

Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in microsoft.teamfoundation.versioncontrol.client.dll)

Visual Basic (Declaration)
Public NotInheritable Class VersionControlServer
Visual Basic (Usage)
Dim instance As VersionControlServer
C#
public sealed class VersionControlServer
C++
public ref class VersionControlServer sealed
J#
public final class VersionControlServer
JScript
public final class VersionControlServer
System.Object
  Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
VersionControlServer for TeamFoundationServer      CHOULANT Noham   |   Edit   |   Show History
 public VersionControlServer GetVersionControlServer(TeamFoundationServer tfs);
 {
 // Get a reference to Source Control
return (VersionControlServer)tfs.GetService(typeof(VersionControlServer));
 }

http://blogs.codes-sources.com/pc152/

Choulant Noham

Tags What's this?: Add a tag
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker