다음을 통해 공유


TeamFoundationServerFactory 클래스

참고: 이 API는 이제 사용되지 않습니다.

TeamFoundationServer 개체에 대 한 클래스 팩터리입니다. 이 클래스는 사용되지 않습니다. 대신 TfsTeamProjectCollectionFactory를 사용 합니다.

상속 계층 구조

System.Object
  Microsoft.TeamFoundation.Client.TeamFoundationServerFactory

네임스페이스:  Microsoft.TeamFoundation.Client
어셈블리:  Microsoft.TeamFoundation.Client(Microsoft.TeamFoundation.Client.dll)

구문

‘선언
<ObsoleteAttribute("The TeamFoundationServerFactory class is obsolete. Use the TfsTeamProjectCollection or TfsConfigurationServer classes to talk to a 2010 or newer Team Foundation Server. In order to talk to a 2005 or 2008 Team Foundation Server use the TfsTeamProjectCollection class. The corresponding factory class for that is the TfsTeamProjectCollectionFactory.")> _
Public NotInheritable Class TeamFoundationServerFactory
[ObsoleteAttribute("The TeamFoundationServerFactory class is obsolete. Use the TfsTeamProjectCollection or TfsConfigurationServer classes to talk to a 2010 or newer Team Foundation Server. In order to talk to a 2005 or 2008 Team Foundation Server use the TfsTeamProjectCollection class. The corresponding factory class for that is the TfsTeamProjectCollectionFactory.")]
public static class TeamFoundationServerFactory

메서드

  이름 설명
Public 메서드정적 멤버 GetServer(String) 지정 된 URL에 연결 하는 TeamFoundationServer 개체를 가져옵니다.
Public 메서드정적 멤버 GetServer(Uri) 지정된 된 URI와 연결 되는 TeamFoundationServer 개체를 가져옵니다.
Public 메서드정적 멤버 GetServer(RegisteredProjectCollection) 지정된 된 RegisteredProjectCollection 개체와 연결 된 TeamFoundationServer 개체를 가져옵니다.
Public 메서드정적 멤버 GetServer(String, ICredentialsProvider) 지정된 된 URL과 자격 증명 공급자를 사용 하 여 연결 하는 TeamFoundationServer 개체를 가져옵니다.
Public 메서드정적 멤버 GetServer(Uri, ICredentialsProvider) 지정된 된 URI 및 자격 증명 공급자를 사용 하 여 연결 되는 TeamFoundationServer 개체를 가져옵니다.
Public 메서드정적 멤버 GetServer(RegisteredProjectCollection, ICredentialsProvider) 지정된 된 RegisteredProjectCollection 개체와 연결 된 TeamFoundationServer 개체를 가져옵니다.

위쪽

설명

이 클래스는 외부 패키지 TeamFoundationServer 개체의 동일한 인스턴스를 사용 하도록 설계 되었습니다. 자격 증명에 관계 없이 Team Foundation Server 개체를 캐시합니다. 캐시 된 개체는 서버가 일정 한 리소스 식별자 (URI)에 의해서만 인덱싱됩니다.

스레드로부터의 안전성

이 형식의 모든 공용 static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.

참고 항목

참조

Microsoft.TeamFoundation.Client 네임스페이스