Classification.GetProjectFromName Method
Namespace: Microsoft.TeamFoundation.Server
Assembly: Microsoft.TeamFoundation.Server (in Microsoft.TeamFoundation.Server.dll)
Syntax
'宣告
<WebMethodAttribute> _
Public Function GetProjectFromName ( _
projectName As String _
) As ProjectInfo
[WebMethodAttribute]
public ProjectInfo GetProjectFromName(
string projectName
)
[WebMethodAttribute]
public:
ProjectInfo^ GetProjectFromName(
String^ projectName
)
[<WebMethodAttribute>]
member GetProjectFromName :
projectName:string -> ProjectInfo
public function GetProjectFromName(
projectName : String
) : ProjectInfo
Parameters
- 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.