TeamFoundationGitRepositoryService.FindRepositoryByName Method
Namespace: Microsoft.TeamFoundation.Git.Server
Assembly: Microsoft.TeamFoundation.Git.Server (in Microsoft.TeamFoundation.Git.Server.dll)
Syntax
'Declaration
Public Function FindRepositoryByName ( _
requestContext As TeamFoundationRequestContext, _
projectName As String, _
repositoryName As String _
) As TfsGitRepository
public TfsGitRepository FindRepositoryByName(
TeamFoundationRequestContext requestContext,
string projectName,
string repositoryName
)
public:
TfsGitRepository^ FindRepositoryByName(
TeamFoundationRequestContext^ requestContext,
String^ projectName,
String^ repositoryName
)
member FindRepositoryByName :
requestContext:TeamFoundationRequestContext *
projectName:string *
repositoryName:string -> TfsGitRepository
public function FindRepositoryByName(
requestContext : TeamFoundationRequestContext,
projectName : String,
repositoryName : String
) : TfsGitRepository
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- projectName
Type: System.String
- repositoryName
Type: System.String
Return Value
Type: Microsoft.TeamFoundation.Git.Server.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.