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