CommonStructureService.GetProjectFromName Method
Namespace: Microsoft.TeamFoundation.Server
Assembly: Microsoft.TeamFoundation.Server (in Microsoft.TeamFoundation.Server.dll)
Syntax
'宣告
Public Function GetProjectFromName ( _
requestContext As TeamFoundationRequestContext, _
projectName As String _
) As ProjectInfo
public ProjectInfo GetProjectFromName(
TeamFoundationRequestContext requestContext,
string projectName
)
public:
ProjectInfo^ GetProjectFromName(
TeamFoundationRequestContext^ requestContext,
String^ projectName
)
member GetProjectFromName :
requestContext:TeamFoundationRequestContext *
projectName:string -> ProjectInfo
public function GetProjectFromName(
requestContext : TeamFoundationRequestContext,
projectName : String
) : ProjectInfo
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- projectName
Type: System.String
Return Value
Type: Microsoft.TeamFoundation.Server.ProjectInfo
.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.