GitUtils.FindRepositoryByFilters Method
Namespace: Microsoft.TeamFoundation.Git.Server
Assembly: Microsoft.TeamFoundation.Git.Server (in Microsoft.TeamFoundation.Git.Server.dll)
Syntax
'Declaration
Public Shared Function FindRepositoryByFilters ( _
requestContext As TeamFoundationRequestContext, _
repositoryFilter As String, _
projectUriFilter As String _
) As TfsGitRepository
public static TfsGitRepository FindRepositoryByFilters(
TeamFoundationRequestContext requestContext,
string repositoryFilter,
string projectUriFilter
)
public:
static TfsGitRepository^ FindRepositoryByFilters(
TeamFoundationRequestContext^ requestContext,
String^ repositoryFilter,
String^ projectUriFilter
)
static member FindRepositoryByFilters :
requestContext:TeamFoundationRequestContext *
repositoryFilter:string *
projectUriFilter:string -> TfsGitRepository
public static function FindRepositoryByFilters(
requestContext : TeamFoundationRequestContext,
repositoryFilter : String,
projectUriFilter : String
) : TfsGitRepository
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- repositoryFilter
Type: System.String
- projectUriFilter
Type: System.String
Return Value
Type: Microsoft.TeamFoundation.Git.Server.TfsGitRepository
Returns TfsGitRepository.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.