Share via


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

メソッド

  名前 説明
パブリック メソッド静的メンバー GetServer(String) 指定したURLに関連付けられているTeamFoundationServerのオブジェクトを取得します。
パブリック メソッド静的メンバー GetServer(Uri) 指定されたURIに関連付けられているTeamFoundationServerのオブジェクトを取得します。
パブリック メソッド静的メンバー GetServer(RegisteredProjectCollection) RegisteredProjectCollectionの指定したオブジェクトに関連付けられているTeamFoundationServerのオブジェクトを取得します。
パブリック メソッド静的メンバー GetServer(String, ICredentialsProvider) 指定したURLと資格情報プロバイダーに関連付けられているTeamFoundationServerのオブジェクトを取得します。
パブリック メソッド静的メンバー GetServer(Uri, ICredentialsProvider) 指定されたURIと資格情報プロバイダーに関連付けられているTeamFoundationServerのオブジェクトを取得します。
パブリック メソッド静的メンバー GetServer(RegisteredProjectCollection, ICredentialsProvider) RegisteredProjectCollectionの指定したオブジェクトに関連付けられているTeamFoundationServerのオブジェクトを取得します。

このページのトップへ

解説

このクラスはTeamFoundationServerのオブジェクトの同じインスタンスを使用するように外部パッケージを使用できるように設計されています。 これは、資格情報に関係なく、Team Foundation Serverのオブジェクトをキャッシュします。 キャッシュされたオブジェクトは、サーバーのURI (Uniform Resource Identifier) (URI)によってのみ送られます。

スレッド セーフ

この型のすべてのパブリック static (Visual Basic では Shared) メンバーは、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

参照

関連項目

Microsoft.TeamFoundation.Client 名前空間