ICommonStructureService.GetProjectFromName Method
Gets a ProjectInfo structure using a project name
Namespace: Microsoft.TeamFoundation.Server
Assembly: Microsoft.TeamFoundation (in Microsoft.TeamFoundation.dll)
Syntax
'Declaration
Function GetProjectFromName ( _
projectName As String _
) As ProjectInfo
'Usage
Dim instance As ICommonStructureService
Dim projectName As String
Dim returnValue As ProjectInfo
returnValue = instance.GetProjectFromName(projectName)
ProjectInfo GetProjectFromName(
string projectName
)
ProjectInfo^ GetProjectFromName(
String^ projectName
)
function GetProjectFromName(
projectName : String
) : ProjectInfo
Parameters
projectName
Type: System.StringThe name of the project to be obtained
Return Value
Type: Microsoft.TeamFoundation.Server.ProjectInfo
A ProjectInfo object containing the project information structure.
.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.
See Also
Reference
ICommonStructureService Interface