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.String

    The 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

See Also

Reference

ICommonStructureService Interface

ICommonStructureService Members

Microsoft.TeamFoundation.Server Namespace