TeamFoundationGitRepositoryService.FindRepositoryById Method
Namespace: Microsoft.TeamFoundation.Git.Server
Assembly: Microsoft.TeamFoundation.Git.Server (in Microsoft.TeamFoundation.Git.Server.dll)
Syntax
'Declaration
Public Overridable Function FindRepositoryById ( _
requestContext As TeamFoundationRequestContext, _
repositoryId As Guid _
) As TfsGitRepository
public virtual TfsGitRepository FindRepositoryById(
TeamFoundationRequestContext requestContext,
Guid repositoryId
)
public:
virtual TfsGitRepository^ FindRepositoryById(
TeamFoundationRequestContext^ requestContext,
Guid repositoryId
)
abstract FindRepositoryById :
requestContext:TeamFoundationRequestContext *
repositoryId:Guid -> TfsGitRepository
override FindRepositoryById :
requestContext:TeamFoundationRequestContext *
repositoryId:Guid -> TfsGitRepository
public function FindRepositoryById(
requestContext : TeamFoundationRequestContext,
repositoryId : Guid
) : TfsGitRepository
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- repositoryId
Type: System.Guid
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.