TfsTeamProjectCollectionFactory.GetTeamProjectCollection メソッド (RegisteredProjectCollection, ICredentialsProvider)
メモ: この API は、互換性のために残されています。
指定 RegisteredProjectCollection のインスタンスとフォールバック資格情報プロバイダーに関連付けられている TfsTeamProjectCollection のインスタンスを取得します。
名前空間: Microsoft.TeamFoundation.Client
アセンブリ: Microsoft.TeamFoundation.Client (Microsoft.TeamFoundation.Client.dll 内)
構文
'宣言
<ObsoleteAttribute("This method has been deprecated and will be removed in a future release. See GetTeamProjectCollection(RegisteredProjectCollection) instead.", _
False)> _
Public Shared Function GetTeamProjectCollection ( _
projectCollection As RegisteredProjectCollection, _
fallbackCredentialsProvider As ICredentialsProvider _
) As TfsTeamProjectCollection
[ObsoleteAttribute("This method has been deprecated and will be removed in a future release. See GetTeamProjectCollection(RegisteredProjectCollection) instead.",
false)]
public static TfsTeamProjectCollection GetTeamProjectCollection(
RegisteredProjectCollection projectCollection,
ICredentialsProvider fallbackCredentialsProvider
)
パラメーター
- projectCollection
型 : Microsoft.TeamFoundation.Client.RegisteredProjectCollection
サーバーに関する情報を含む RegisteredProjectCollection。
- fallbackCredentialsProvider
型 : Microsoft.TeamFoundation.Client.ICredentialsProvider
戻り値
型 : Microsoft.TeamFoundation.Client.TfsTeamProjectCollection
指定 RegisteredProjectCollection で説明されているサーバーに関連付けられている TfsTeamProjectCollection のインスタンス。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。
参照
関連項目
TfsTeamProjectCollectionFactory クラス