共用方式為


Classification.GetProjectFromName Method

Returns the project information about the project from its name.

Namespace:  Microsoft.TeamFoundation.Integration.Server
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Function GetProjectFromName ( _
    projectName As String _
) As CommonStructureProjectInfo
[WebMethodAttribute]
public CommonStructureProjectInfo GetProjectFromName(
    string projectName
)
[WebMethodAttribute]
public:
CommonStructureProjectInfo^ GetProjectFromName(
    String^ projectName
)
[<WebMethodAttribute>]
member GetProjectFromName : 
        projectName:string -> CommonStructureProjectInfo
public function GetProjectFromName(
    projectName : String
) : CommonStructureProjectInfo

Parameters

Return Value

Type: Microsoft.TeamFoundation.Integration.Server.CommonStructureProjectInfo
The project information.

.NET Framework Security

See Also

Reference

Classification Class

Microsoft.TeamFoundation.Integration.Server Namespace