ICommonStructureService.GetProjectFromName Method
Namespace: Microsoft.TeamFoundation.Server
Assembly: Microsoft.TeamFoundation (in Microsoft.TeamFoundation.dll)
Syntax
'宣告
Function GetProjectFromName ( _
projectName As String _
) As ProjectInfo
ProjectInfo GetProjectFromName(
string projectName
)
ProjectInfo^ GetProjectFromName(
String^ projectName
)
abstract GetProjectFromName :
projectName:string -> ProjectInfo
function GetProjectFromName(
projectName : String
) : ProjectInfo
Parameters
- projectName
Type: System.String
Return Value
Type: Microsoft.TeamFoundation.Server.ProjectInfo
Returns 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.